summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pasemi
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-10-11 07:19:03 +0200
committerPaul Mackerras <paulus@samba.org>2007-10-11 12:40:49 +0200
commit84dd4676f5519b86aee3bfaf1b230be2cb43f69b (patch)
tree56bd4fa1d945ccd07b2118c72264e6d10ed4ba30 /arch/powerpc/platforms/pasemi
parent[POWERPC] iSeries: Move viodasd probing (diff)
downloadlinux-84dd4676f5519b86aee3bfaf1b230be2cb43f69b.tar.xz
linux-84dd4676f5519b86aee3bfaf1b230be2cb43f69b.zip
[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>
Diffstat (limited to 'arch/powerpc/platforms/pasemi')
-rw-r--r--arch/powerpc/platforms/pasemi/gpio_mdio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pasemi/gpio_mdio.c b/arch/powerpc/platforms/pasemi/gpio_mdio.c
index c91a33593bb8..dae9f658122e 100644
--- a/arch/powerpc/platforms/pasemi/gpio_mdio.c
+++ b/arch/powerpc/platforms/pasemi/gpio_mdio.c
@@ -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)