Re: [PATCH] drivers/rtc/rtc-tegra.c: fix build warning

2013-03-20 Thread Jingoo Han
On Wed, 20 Mar 2013 05:30:25 -0700, Laxman Dewangan wrote: > > Fix the below build warning: > > drivers/rtc/rtc-tegra.c: In function 'tegra_rtc_probe': > drivers/rtc/rtc-tegra.c:353:33: warning: passing argument 1 of > 'devm_rtc_device_register' from incompatible pointer type [enabled by default]

[PATCH] drivers/rtc/rtc-tegra.c: fix build warning

2013-03-20 Thread Laxman Dewangan
Fix the below build warning: drivers/rtc/rtc-tegra.c: In function 'tegra_rtc_probe': drivers/rtc/rtc-tegra.c:353:33: warning: passing argument 1 of 'devm_rtc_device_register' from incompatible pointer type [enabled by default] include/linux/rtc.h:136:27: note: expected 'struct device *' but

[PATCH] drivers/rtc/rtc-tegra.c: fix build warning

2013-03-20 Thread Laxman Dewangan
Fix the below build warning: drivers/rtc/rtc-tegra.c: In function 'tegra_rtc_probe': drivers/rtc/rtc-tegra.c:353:33: warning: passing argument 1 of 'devm_rtc_device_register' from incompatible pointer type [enabled by default] include/linux/rtc.h:136:27: note: expected 'struct device *' but

Re: [PATCH] drivers/rtc/rtc-tegra.c: fix build warning

2013-03-20 Thread Jingoo Han
On Wed, 20 Mar 2013 05:30:25 -0700, Laxman Dewangan wrote: Fix the below build warning: drivers/rtc/rtc-tegra.c: In function 'tegra_rtc_probe': drivers/rtc/rtc-tegra.c:353:33: warning: passing argument 1 of 'devm_rtc_device_register' from incompatible pointer type [enabled by default]