Messages in this thread | | | Date | Fri, 22 Aug 2014 13:24:54 +0530 | Subject | Re: [PATCH v4 1/2] watchdog: Add Cadence WDT driver | From | Harini Katakam <> |
| |
Hi Guenter,
On Fri, Aug 22, 2014 at 1:03 PM, Guenter Roeck <linux@roeck-us.net> wrote: > On Thu, Aug 21, 2014 at 11:57:22AM -0700, Guenter Roeck wrote: >> On Thu, Jul 31, 2014 at 12:10:54PM +0530, Harini Katakam wrote: >> > Add Cadence WDT driver. This is used by Xilinx Zynq. >> > >> > Signed-off-by: Harini Katakam <harinik@xilinx.com> >> >> Reviewed-by: Guenter Roeck <linux@roeck-us.net> > > Hah, that was too fast. The driver causes build errors for a number or > architectures, including x86_64. > > drivers/watchdog/cadence_wdt.c: In function 'cdns_wdt_writereg': > drivers/watchdog/cadence_wdt.c:93:2: error: implicit declaration of function > 'writel_relaxed' [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors > make[2]: *** [drivers/watchdog/cadence_wdt.o] Error 1 > make[1]: *** [drivers/watchdog] Error 2 > > Please make sure that the driver is only configurable for architectures > supporting writel_relaxed.
There were a couple of patches earlier to add relaxed helpers for all architectures - I guess they are not applied yet. I'll resend series adding dependency on ARM.
Regards, Harini
| |