[POWERPC] Move of_platform_driver initialisations: arch/powerpc
We no longer initialise the name and owner fields of the of_platform_driver, but use the fields of the embedded device_driver's name field instead. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
8251b4c481
commit
84dd4676f5
@@ -320,10 +320,12 @@ static struct of_device_id gpio_mdio_match[] =
|
||||
|
||||
static struct of_platform_driver gpio_mdio_driver =
|
||||
{
|
||||
.name = "gpio-mdio-bitbang",
|
||||
.match_table = gpio_mdio_match,
|
||||
.probe = gpio_mdio_probe,
|
||||
.remove = gpio_mdio_remove,
|
||||
.driver = {
|
||||
.name = "gpio-mdio-bitbang",
|
||||
},
|
||||
};
|
||||
|
||||
int gpio_mdio_init(void)
|
||||
|
Reference in New Issue
Block a user