Messages in this thread | | | Date | Fri, 16 Aug 2013 15:35:23 -0700 | From | Greg Kroah-Hartman <> | Subject | Re: [RFC 2/4] driver core: Allow early registration of devices |
| |
On Fri, Aug 16, 2013 at 11:20:55PM +0100, Grant Likely wrote: > Also, for the devices that are created early, is it really appropriate > to use APIs that require a struct device? I could easily argue that > anything done at early boot should only be the bare minimum to allow > the kernel to get to initcalls, and so mucking about with devices is > inappropriate because it really messes with the assumptions made in > the design of the driver model.
I agree, this could get really messy, really fast, and be a place that people abuse quite easily.
greg k-h
| |