Re: [patch/RFC 2.6.18-rc] platform_device_probe(), to conserve memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Dmitry Torokhov <[email protected]>
> Date: Sun, 3 Sep 2006 21:34:29 -0400
>
> On Sunday 03 September 2006 21:23, David Brownell wrote:
> > This defines a new platform_driver_probe() method allowing the driver's
> > probe() method, and its support code+data, to safely live in __init
> > sections for common system configurations.
> > 
>
> If you do this you also need to kill drivers bind/unbind attributes
> to show that dynamic [un]binding is not supported.

Unbinding hasn't changed; so if that attribute breaks because of this,
it was already broken.

It might be important that drv->probe() be replaced with something
that always fails though, since it seems there's an odd assumption
that not having a probe() means the driver works for any device...

- Dave


-- 
VGER BF report: H 1.38493e-10
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux