staging: rtl8712: Change _LED_STATE enum in rtl871x driver to avoid conflicts with LED namespace

Adding led support for phy causes namespace conflicts for some
phy drivers.

The rtl871 driver declared an enum for representing LED states. The enum
contains constant LED_OFF which conflicted with declaration found in
linux/leds.h. LED_OFF changed to LED_STATE_OFF
In order to avoid a possible future collision LED_ON was changed to
LED_STATE_ON as well.

Signed-off-by: Zach Brown <zach.brown@ni.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Zach Brown 2016-09-27 16:51:49 -05:00 коммит произвёл Greg Kroah-Hartman
Родитель 30f9b3fe4d
Коммит 0c1d83c495
1 изменённых файлов: 194 добавлений и 194 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу