mii.c: In function `mii_phy_probe':
mii.c:85: warning: implicit declaration of function `MIIBUS_READREG'
mii.c:94: warning: implicit declaration of function `device_delete_child'
mii.c: In function `miibus_writereg':
mii.c:260: warning: implicit declaration of function `MIIBUS_WRITEREG'
mii.c: In function `miibus_statchg':
mii.c:269: warning: implicit declaration of function `MIIBUS_STATCHG'
mii.c: In function `miibus_mediainit':
mii.c:281: warning: implicit declaration of function `MIIBUS_MEDIAINIT'
mii.c: At top level:
mii.c:304: error: `bus_generic_print_child' undeclared here (not in a function)
mii.c:304: error: initializer element is not constant
mii.c:304: error: (near initialization for `miibus_methods[4].func')
mii.c:304: error: initializer element is not constant
mii.c:304: error: (near initialization for `miibus_methods[4]')
mii.c:305: error: `bus_generic_driver_added' undeclared here (not in a function)
mii.c:305: error: initializer element is not constant
mii.c:305: error: (near initialization for `miibus_methods[5].func')
mii.c:305: error: initializer element is not constant
mii.c:305: error: (near initialization for `miibus_methods[5]')
mii.c:308: error: `miibus_readreg_desc' undeclared here (not in a function)
mii.c:308: error: initializer element is not constant
mii.c:308: error: (near initialization for `miibus_methods[6].index')
mii.c:308: error: initializer element is not constant
mii.c:308: error: (near initialization for `miibus_methods[6]')
mii.c:309: error: `miibus_writereg_desc' undeclared here (not in a function)
mii.c:309: error: initializer element is not constant
mii.c:309: error: (near initialization for `miibus_methods[7].index')
mii.c:309: error: initializer element is not constant
mii.c:309: error: (near initialization for `miibus_methods[7]')
mii.c:310: error: `miibus_statchg_desc' undeclared here (not in a function)
mii.c:310: error: initializer element is not constant
mii.c:310: error: (near initialization for `miibus_methods[8].index')
mii.c:310: error: initializer element is not constant
mii.c:310: error: (near initialization for `miibus_methods[8]')
mii.c:311: error: `miibus_mediainit_desc' undeclared here (not in a function)
mii.c:311: error: initializer element is not constant
mii.c:311: error: (near initialization for `miibus_methods[9].index')
mii.c:311: error: initializer element is not constant
mii.c:311: error: (near initialization for `miibus_methods[9]')
mii.c:313: error: initializer element is not constant
mii.c:313: error: (near initialization for `miibus_methods[10]')
make: *** [../bin/mii.o] Error 1
