diff options
author | Phil Sutter <n0-1@freewrt.org> | 2009-01-15 09:41:44 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-01-30 16:33:00 -0500 |
commit | 94d2cc1b8b2bd2141e141a4f43bce9ab135bd9fd (patch) | |
tree | d1b4b39138bd968ecdd1f3efe7617027462b50c9 /arch/mips | |
parent | 1452fc7d178c37c6463c95c5cc6858c7b7f478c8 (diff) |
MIPS: RB532: Use driver_data instead of platform_data
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>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/rb532/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/rb532/devices.c b/arch/mips/rb532/devices.c index 9b6b744d8ec..3c74561b4ee 100644 --- a/arch/mips/rb532/devices.c +++ b/arch/mips/rb532/devices.c | |||
@@ -89,7 +89,7 @@ static struct korina_device korina_dev0_data = { | |||
89 | static struct platform_device korina_dev0 = { | 89 | static struct platform_device korina_dev0 = { |
90 | .id = -1, | 90 | .id = -1, |
91 | .name = "korina", | 91 | .name = "korina", |
92 | .dev.platform_data = &korina_dev0_data, | 92 | .dev.driver_data = &korina_dev0_data, |
93 | .resource = korina_dev0_res, | 93 | .resource = korina_dev0_res, |
94 | .num_resources = ARRAY_SIZE(korina_dev0_res), | 94 | .num_resources = ARRAY_SIZE(korina_dev0_res), |
95 | }; | 95 | }; |