/* Description: called by a bus driver to allocate an mii_bus structure to fill in.  */
struct mii_bus* mdiobus_alloc(void)
/* Description: called by a bus driver to allocate an mii_bus structure to fill in.  */
struct mii_bus* mdiobus_alloc(void)
{
	struct mii_bus *bus;
	bus = kzalloc(sizeof(*bus), GFP_KERNEL);
	if (bus != NULL)
		bus->state = MDIOBUS_ALLOCATED;
	return bus;
}