* [PATCH] SPI: move PL022 probe call to subsys_initcall() @ 2010-09-06 9:02 Linus Walleij [not found] ` <1283763732-19419-1-git-send-email-linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Linus Walleij @ 2010-09-06 9:02 UTC (permalink / raw) To: Grant Likely, spi-devel-general Cc: Linus Walleij, linux-arm-kernel, Lukasz Baj The PL022 SPI bus is sometimes used for early stuff like regulators that need to be present at module_init() time, so we move this to a subsys_initcall(). Cc: Lukasz Baj <lukasz.baj@tieto.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> --- drivers/spi/amba-pl022.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c index 3db5402..f958072 100644 --- a/drivers/spi/amba-pl022.c +++ b/drivers/spi/amba-pl022.c @@ -2324,7 +2324,7 @@ static int __init pl022_init(void) return amba_driver_register(&pl022_driver); } -module_init(pl022_init); +subsys_initcall(pl022_init); static void __exit pl022_exit(void) { -- 1.6.3.3 ^ permalink raw reply related [flat|nested] 3+ messages in thread
[parent not found: <1283763732-19419-1-git-send-email-linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org>]
* Re: [PATCH] SPI: move PL022 probe call to subsys_initcall() [not found] ` <1283763732-19419-1-git-send-email-linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org> @ 2010-09-09 4:53 ` Grant Likely 2010-09-09 8:05 ` Linus Walleij 0 siblings, 1 reply; 3+ messages in thread From: Grant Likely @ 2010-09-09 4:53 UTC (permalink / raw) To: Linus Walleij Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Lukasz Baj On Mon, Sep 06, 2010 at 11:02:12AM +0200, Linus Walleij wrote: > The PL022 SPI bus is sometimes used for early stuff like > regulators that need to be present at module_init() time, so > we move this to a subsys_initcall(). > > Cc: Lukasz Baj <lukasz.baj-++hxYGjEMp0AvxtiuMwx3w@public.gmane.org> > Signed-off-by: Linus Walleij <linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org> Applied, thanks. Note on the subject line: The preferred form for spi patches is: spi[/chip]: <description> 'spi' in the header and the optional driver name are both lowercase. I fix patches up to match this form, but it is less work for me when I don't have to. g. > --- > drivers/spi/amba-pl022.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/spi/amba-pl022.c b/drivers/spi/amba-pl022.c > index 3db5402..f958072 100644 > --- a/drivers/spi/amba-pl022.c > +++ b/drivers/spi/amba-pl022.c > @@ -2324,7 +2324,7 @@ static int __init pl022_init(void) > return amba_driver_register(&pl022_driver); > } > > -module_init(pl022_init); > +subsys_initcall(pl022_init); > > static void __exit pl022_exit(void) > { > -- > 1.6.3.3 > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] SPI: move PL022 probe call to subsys_initcall() 2010-09-09 4:53 ` Grant Likely @ 2010-09-09 8:05 ` Linus Walleij 0 siblings, 0 replies; 3+ messages in thread From: Linus Walleij @ 2010-09-09 8:05 UTC (permalink / raw) To: Grant Likely; +Cc: spi-devel-general, linux-arm-kernel, Lukasz Baj 2010/9/9 Grant Likely <grant.likely@secretlab.ca>: > Note on the subject line: The preferred form for spi patches is: > > spi[/chip]: <description> Ah OK I'll use that syntax henceforth. Thanks! Linus Walleij ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-09-09 8:05 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-09-06 9:02 [PATCH] SPI: move PL022 probe call to subsys_initcall() Linus Walleij [not found] ` <1283763732-19419-1-git-send-email-linus.walleij-0IS4wlFg1OjSUeElwK9/Pw@public.gmane.org> 2010-09-09 4:53 ` Grant Likely 2010-09-09 8:05 ` Linus Walleij
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).