add 2.6.28 patches and kernel config
[openwrt/staging/chunkeey.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 diff --git a/arch/mips/rb532/devices.c b/arch/mips/rb532/devices.c
11 index 9b6b744..3c74561 100644
12 --- a/arch/mips/rb532/devices.c
13 +++ b/arch/mips/rb532/devices.c
14 @@ -89,7 +89,7 @@ static struct korina_device korina_dev0_data = {
15 static struct platform_device korina_dev0 = {
16 .id = -1,
17 .name = "korina",
18 - .dev.platform_data = &korina_dev0_data,
19 + .dev.driver_data = &korina_dev0_data,
20 .resource = korina_dev0_res,
21 .num_resources = ARRAY_SIZE(korina_dev0_res),
22 };
23 --
24 1.5.6.4
25
26