Skip to content

Commit b3579d6

Browse files
gwingerdelinvjw
authored andcommitted
rt2x00: Make rt2800_init_led static and don't export it.
It is only used within the rt2800lib module itself. Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Acked-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
1 parent 67a4c1e commit b3579d6

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

drivers/net/wireless/rt2x00/rt2800lib.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static int rt2800_blink_set(struct led_classdev *led_cdev,
366366
return 0;
367367
}
368368

369-
void rt2800_init_led(struct rt2x00_dev *rt2x00dev,
369+
static void rt2800_init_led(struct rt2x00_dev *rt2x00dev,
370370
struct rt2x00_led *led, enum led_type type)
371371
{
372372
led->rt2x00dev = rt2x00dev;
@@ -375,7 +375,6 @@ void rt2800_init_led(struct rt2x00_dev *rt2x00dev,
375375
led->led_dev.blink_set = rt2800_blink_set;
376376
led->flags = LED_INITIALIZED;
377377
}
378-
EXPORT_SYMBOL_GPL(rt2800_init_led);
379378
#endif /* CONFIG_RT2X00_LIB_LEDS */
380379

381380
/*

drivers/net/wireless/rt2x00/rt2800lib.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ void rt2800_mcu_request(struct rt2x00_dev *rt2x00dev,
114114
extern const struct rt2x00debug rt2800_rt2x00debug;
115115

116116
int rt2800_rfkill_poll(struct rt2x00_dev *rt2x00dev);
117-
void rt2800_init_led(struct rt2x00_dev *rt2x00dev,
118-
struct rt2x00_led *led, enum led_type type);
119117
int rt2800_config_shared_key(struct rt2x00_dev *rt2x00dev,
120118
struct rt2x00lib_crypto *crypto,
121119
struct ieee80211_key_conf *key);

0 commit comments

Comments
 (0)