diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-08-22 12:42:59 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-08-22 12:42:59 +0000 |
commit | 2811d6c1839c7860c698c26e90f40d50c14d96a5 (patch) | |
tree | fec1f52ab5f3cef6972aba59feff713fe5054b9d /target/linux | |
parent | dc13dc1d5430a4e94ac985812814482b54db498d (diff) | |
download | mtk-20170518-2811d6c1839c7860c698c26e90f40d50c14d96a5.zip mtk-20170518-2811d6c1839c7860c698c26e90f40d50c14d96a5.tar.gz mtk-20170518-2811d6c1839c7860c698c26e90f40d50c14d96a5.tar.bz2 |
ar71xx: fix comment style in mach-tl-wr2543n.c
SVN-Revision: 33227
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c index d48d8fd..8f6db5e 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c @@ -24,7 +24,7 @@ #define TL_WR2543N_GPIO_LED_WPS 0 #define TL_WR2543N_GPIO_LED_USB 8 -// The WLAN LEDs use GPIOs on the discrete AR9380 wmac +/* The WLAN LEDs use GPIOs on the discrete AR9380 wmac */ #define TL_WR2543N_GPIO_WMAC_LED_WLAN2G 0 #define TL_WR2543N_GPIO_WMAC_LED_WLAN5G 1 @@ -125,12 +125,17 @@ static void __init tl_wr2543n_setup(void) tl_wr2543n_gpio_keys); ath79_register_usb(); - // The ath9k driver uses this pin for its default led device, which is - // named ath9k-phy0, and reflects activity on either the 2 GHz or 5 GHz - // bands. This pin is connected to the WR2543's 2GHz WLAN LED. + /* + * The ath9k driver uses this pin for its default led device, which is + * named ath9k-phy0, and reflects activity on either the 2 GHz or 5 GHz + * bands. This pin is connected to the WR2543's 2GHz WLAN LED. + */ ap9x_pci_setup_wmac_led_pin(0, TL_WR2543N_GPIO_WMAC_LED_WLAN2G); - // We also have the driver set up an led device for the WR2543's - // separate 5 GHz WLAN LED in case the user wants it. + + /* + * We also have the driver set up an led device for the WR2543's + * separate 5 GHz WLAN LED in case the user wants it. + */ ap9x_pci_setup_wmac_leds(0, tl_wr2543n_wmac_leds_gpio, ARRAY_SIZE(tl_wr2543n_wmac_leds_gpio)); ap91_pci_init(eeprom, mac); |