diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-09 13:31:22 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-13 17:13:52 -0400 |
commit | 55d10a11aeeca48149d14fcc0b955017f3618882 (patch) | |
tree | b1503301cea47f5617123e1ccc80b27859121879 /drivers/net/usb/asix.h | |
parent | cbeee8c65f39045983f7ce0980254c9d66501af0 (diff) |
net: asix: Move declaration of ax88172a_info to shared header
Ensure that the definition of ax88172a_info matches the declaration seen
by users and silence sparse warnings about symbols without declarations
in the global namespace by moving the declaration into the shared header
asix.h.
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/asix.h')
-rw-r--r-- | drivers/net/usb/asix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/usb/asix.h b/drivers/net/usb/asix.h index 346c032aa795..bdaa12d07a12 100644 --- a/drivers/net/usb/asix.h +++ b/drivers/net/usb/asix.h | |||
@@ -178,6 +178,8 @@ struct asix_common_private { | |||
178 | struct asix_rx_fixup_info rx_fixup_info; | 178 | struct asix_rx_fixup_info rx_fixup_info; |
179 | }; | 179 | }; |
180 | 180 | ||
181 | extern const struct driver_info ax88172a_info; | ||
182 | |||
181 | /* ASIX specific flags */ | 183 | /* ASIX specific flags */ |
182 | #define FLAG_EEPROM_MAC (1UL << 0) /* init device MAC from eeprom */ | 184 | #define FLAG_EEPROM_MAC (1UL << 0) /* init device MAC from eeprom */ |
183 | 185 | ||