[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070528202558.GG5737@flint.arm.linux.org.uk>
Date: Mon, 28 May 2007 21:25:58 +0100
From: Russell King <rmk+lkml@....linux.org.uk>
To: Sam Ravnborg <sam@...nborg.org>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: ARM: Section mismatch warnings
On Mon, May 28, 2007 at 09:58:47PM +0200, Sam Ravnborg wrote:
> Declaring neponset_probe __init cured it.
> Sorry for posting the wrong patch in the first place.
Arguably, making neponset_probe __devinit and neponset_port_fns
__devinitdata is arguably more correct since any device driver can
be bound and unbound at any time (grumble).
I don't think David's platform_driver_probe() is a proper answer
since it's still possible to unbind the driver, leaving no way to
re-bind. IOW, it only solves half the problem. Really, the
allowance of bind/unbind should be a per-driver and per-bus thing
imho. That's for a separate discussion though.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists