提交 3480a58a 编写于 作者: J John W. Linville

rt2x00: fixup some non-functional merge errors

These small changes restore the rt2x00 sources to the way Ivo intended.
Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 04850a47
...@@ -674,7 +674,7 @@ struct rt2x00_dev { ...@@ -674,7 +674,7 @@ struct rt2x00_dev {
* This will only be compiled in when required. * This will only be compiled in when required.
*/ */
#ifdef CONFIG_RT2X00_LIB_RFKILL #ifdef CONFIG_RT2X00_LIB_RFKILL
unsigned long rfkill_state; unsigned long rfkill_state;
#define RFKILL_STATE_ALLOCATED 1 #define RFKILL_STATE_ALLOCATED 1
#define RFKILL_STATE_REGISTERED 2 #define RFKILL_STATE_REGISTERED 2
struct rfkill *rfkill; struct rfkill *rfkill;
......
...@@ -1194,10 +1194,6 @@ void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev) ...@@ -1194,10 +1194,6 @@ void rt2x00lib_remove_dev(struct rt2x00_dev *rt2x00dev)
*/ */
rt2x00debug_deregister(rt2x00dev); rt2x00debug_deregister(rt2x00dev);
rt2x00rfkill_free(rt2x00dev); rt2x00rfkill_free(rt2x00dev);
/*
* Free LED.
*/
rt2x00leds_unregister(rt2x00dev); rt2x00leds_unregister(rt2x00dev);
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册