rework ar7 profiles to separate dsl firmwares, annex-a being now the default and...
[openwrt/openwrt.git] / target / linux / rb532 / patches-2.6.28 / 021-rb532_driver_data.patch
1 As the korina ethernet driver uses platform_get_drvdata() to extract the
2 driver specific data from the platform device, driver_data has to be
3 used here.
4
5 Signed-off-by: Phil Sutter <n0-1@freewrt.org>
6 ---
7 arch/mips/rb532/devices.c | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
9
10 --- a/arch/mips/rb532/devices.c
11 +++ b/arch/mips/rb532/devices.c
12 @@ -86,7 +86,7 @@ static struct korina_device korina_dev0_
13 static struct platform_device korina_dev0 = {
14 .id = -1,
15 .name = "korina",
16 - .dev.platform_data = &korina_dev0_data,
17 + .dev.driver_data = &korina_dev0_data,
18 .resource = korina_dev0_res,
19 .num_resources = ARRAY_SIZE(korina_dev0_res),
20 };