diff options
author | Phil Sutter <n0-1@freewrt.org> | 2009-01-15 15:41:44 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-01-30 22:33:00 +0100 |
commit | 94d2cc1b8b2bd2141e141a4f43bce9ab135bd9fd (patch) | |
tree | d1b4b39138bd968ecdd1f3efe7617027462b50c9 /arch/mips/rb532 | |
parent | MIPS: RB532: Detect uart type, add platform device (diff) | |
download | linux-94d2cc1b8b2bd2141e141a4f43bce9ab135bd9fd.tar.xz linux-94d2cc1b8b2bd2141e141a4f43bce9ab135bd9fd.zip |
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/rb532')
-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 9b6b744d8ecc..3c74561b4ee5 100644 --- a/arch/mips/rb532/devices.c +++ b/arch/mips/rb532/devices.c @@ -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), }; |