macb:
Subsystems (2)
Hello,
I added type checking[1] to platform_set_drvdata and got the following warning:
drivers/net/macb.c: In function 'macb_mii_init':drivers/net/macb.c:263: warning: passing argument 1 of 'platform_set_drvdata' from incompatible pointer type
I'm new to the mii_bus stuff and don't see how to fix it.
regards, Marc
[1] https://lkml.org/lkml/2011/2/16/380
Signature · 4 lines
Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |