Commit 3480a58a authored by John W. Linville's avatar 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: default avatarIvo van Doorn <IvDoorn@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment