Re: [PATCH v4 1/2] watchdog: Add Cadence WDT driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Guenter,

On Fri, Aug 22, 2014 at 1:03 PM, Guenter Roeck <linux@xxxxxxxxxxxx> 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@xxxxxxxxxx>
>>
>> Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux