[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120326063748.GA24023@pengutronix.de>
Date: Mon, 26 Mar 2012 08:37:48 +0200
From: Wolfram Sang <w.sang@...gutronix.de>
To: Axel Lin <axel.lin@...il.com>
Cc: linux-kernel@...r.kernel.org, Atsushi Nemoto <anemo@....ocn.ne.jp>,
Ralf Baechle <ralf@...ux-mips.org>,
Wim Van Sebroeck <wim@...ana.be>,
linux-watchdog@...r.kernel.org
Subject: Re: [PATCH] watchdog: Fix build error in txx9wdt.c
On Mon, Mar 26, 2012 at 01:02:14PM +0800, Axel Lin wrote:
> we need to get clk_get_rate(txx9_imclk) before using WD_MAX_TIMEOUT.
>
> This patch fixes below build errors:
> CC drivers/watchdog/txx9wdt.o
> drivers/watchdog/txx9wdt.c:104: error: initializer element is not constant
> drivers/watchdog/txx9wdt.c:104: error: (near initialization for ‘txx9wdt.max_timeout’)
> make[2]: *** [drivers/watchdog/txx9wdt.o] Error 1
> make[1]: *** [drivers/watchdog] Error 2
> make: *** [drivers] Error 2
>
> Signed-off-by: Axel Lin <axel.lin@...il.com>
Acked-by: Wolfram Sang <w.sang@...gutronix.de>
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists