MIPS: RB532: Use driver_data instead of platform_data
authorPhil Sutter <n0-1@freewrt.org>
Thu, 15 Jan 2009 14:41:44 +0000 (15:41 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Jan 2009 21:33:00 +0000 (21:33 +0000)
As the korina ethernet driver uses platform_get_drvdata() to extract the
driver specific data from the platform device, driver_data has to be
used here.

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/rb532/devices.c

index 9b6b744d8ecc22453dbd25e9032c2810871511e7..3c74561b4ee5526795b8128d1096f9428f3553a1 100644 (file)
@@ -89,7 +89,7 @@ static struct korina_device korina_dev0_data = {
 static struct platform_device korina_dev0 = {
        .id = -1,
        .name = "korina",
-       .dev.platform_data = &korina_dev0_data,
+       .dev.driver_data = &korina_dev0_data,
        .resource = korina_dev0_res,
        .num_resources = ARRAY_SIZE(korina_dev0_res),
 };