[PATCH] booke_wdt: Fix build (unconstify watchdog_info)

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Apr 27 17:45:24 EST 2010


On Tue, 2010-04-27 at 09:42 +0200, Wim Van Sebroeck wrote:
> Hi Ben,
> 
> > > commit 42747d712de56cf2087b702d2ad90af114c53138 ("[WATCHDOG]
> > > watchdog_info constify") introduced the following build failure:
> > > 
> > >    CC      booke_wdt.o
> > >  booke_wdt.c: In function 'booke_wdt_init':
> > >  booke_wdt.c:220: error: assignment of read-only variable 'ident'
> > > 
> > > Fix this by removing 'const' qualifier from watchdog_info struct.
> > 
> > Should this go via powerpc.git ? If yes, I'll send to Linus asap.
> 
> I'm sending watchdog related patches to Linus today. This one will be included.

Thanks !

Cheers,
Ben.




More information about the Linuxppc-dev mailing list