Re: [RFC, PATCH] watchdog on gpio

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Frysinger <vapier.adi@...>
Cc: Marc Pignat <marc.pignat@...>, <wim@...>, <linux-kernel@...>
Date: Monday, January 14, 2008 - 5:29 am

> > Saves memory - you can't make inlined strings __initdata without breaking

Not neccessarily see below. For strings there is a tricky tradeoff
between space on embedded boxes and simplicity. On a 2GB desktop PC the
decision is fairly trivial, on a PDA it gets a bit more important.


If your platform creates the device statically (as a lot of embedded
platforms do) then the __init is fine. The platform register in
init_module will call back the driver probe method and attach the device
before the init_module exits.

Alan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC, PATCH] watchdog on gpio, Marc Pignat, (Thu Jan 10, 11:11 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 4:04 am)
Re: [RFC, PATCH] watchdog on gpio, Alan Cox, (Mon Jan 14, 5:03 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 5:28 am)
Re: [RFC, PATCH] watchdog on gpio, Alan Cox, (Mon Jan 14, 5:29 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 5:45 am)
Re: [RFC, PATCH] watchdog on gpio, Johannes Weiner, (Mon Jan 14, 8:49 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 9:03 am)
Re: [RFC, PATCH] watchdog on gpio, Haavard Skinnemoen, (Mon Jan 14, 8:14 am)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 8:22 am)
Re: [RFC, PATCH] watchdog on gpio, Haavard Skinnemoen, (Mon Jan 14, 9:30 am)
Re: [RFC, PATCH] watchdog on gpio, Florian Fainelli, (Fri Jan 11, 12:40 pm)
Re: [RFC, PATCH] watchdog on gpio, Mike Frysinger, (Mon Jan 14, 4:08 am)
Re: [RFC, PATCH] watchdog on gpio, Marc Pignat, (Mon Jan 14, 3:34 am)
Re: [RFC, PATCH] watchdog on gpio, Ben Dooks, (Thu Jan 10, 1:14 pm)