2
0

510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch 334 B

1234567891011121314
  1. --- a/arch/mips/ath79/dev-wmac.c
  2. +++ b/arch/mips/ath79/dev-wmac.c
  3. @@ -24,7 +24,10 @@
  4. #include "dev-wmac.h"
  5. static u8 ath79_wmac_mac[ETH_ALEN];
  6. -static struct ath9k_platform_data ath79_wmac_data;
  7. +
  8. +static struct ath9k_platform_data ath79_wmac_data = {
  9. + .led_pin = -1,
  10. +};
  11. static struct resource ath79_wmac_resources[] = {
  12. {