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
5 Signed-off-by: Phil Sutter <n0-1@freewrt.org>
7 arch/mips/rb532/devices.c | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
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 = {
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),