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>
This commit is contained in:
committed by
David S. Miller
parent
cbeee8c65f
commit
55d10a11ae
@@ -178,6 +178,8 @@ struct asix_common_private {
|
|||||||
struct asix_rx_fixup_info rx_fixup_info;
|
struct asix_rx_fixup_info rx_fixup_info;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern const struct driver_info ax88172a_info;
|
||||||
|
|
||||||
/* ASIX specific flags */
|
/* ASIX specific flags */
|
||||||
#define FLAG_EEPROM_MAC (1UL << 0) /* init device MAC from eeprom */
|
#define FLAG_EEPROM_MAC (1UL << 0) /* init device MAC from eeprom */
|
||||||
|
|
||||||
|
@@ -946,8 +946,6 @@ static const struct driver_info hg20f9_info = {
|
|||||||
.data = FLAG_EEPROM_MAC,
|
.data = FLAG_EEPROM_MAC,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const struct driver_info ax88172a_info;
|
|
||||||
|
|
||||||
static const struct usb_device_id products [] = {
|
static const struct usb_device_id products [] = {
|
||||||
{
|
{
|
||||||
// Linksys USB200M
|
// Linksys USB200M
|
||||||
|
Reference in New Issue
Block a user