diff --git a/package/kernel/lantiq/ltq-atm/src/ltq_atm.c b/package/kernel/lantiq/ltq-atm/src/ltq_atm.c index 1ba2dfb3cb..609b521ad6 100644 --- a/package/kernel/lantiq/ltq-atm/src/ltq_atm.c +++ b/package/kernel/lantiq/ltq-atm/src/ltq_atm.c @@ -1837,7 +1837,7 @@ static int ltq_atm_probe(struct platform_device *pdev) ifx_atm_version(ops, ver_str); printk(KERN_INFO "%s", ver_str); - platform_set_drvdata(pdev, ops); + platform_set_drvdata(pdev, (void *)ops); printk("ifxmips_atm: ATM init succeed\n"); return 0;