
6 Oct
2011
6 Oct
'11
11:07 p.m.
Wolfgang Denk wrote:
WARNING: externs should be avoided in .c files #114: FILE: board/freescale/corenet_ds/eth_p4080.c:100:
extern struct phy_driver tn2020_driver;
This is intentional. There's no header file for the teranetics driver, and referencing the structure allows me to avoid a hard-coded number.
Are you suggesting that I create a header file just to contain this line:
extern struct phy_driver tn2020_driver;
because that seems silly.
--
Timur Tabi
Linux kernel developer at Freescale