On Mon, Apr 02, 2007 at 04:16:03PM -0400, Dmitry Torokhov wrote:
> On 3/31/07, David Brownell <[EMAIL PROTECTED]> wrote:
> >+A better solution is usually:
> >+
> >+ struct platform_device *platform_device_register_simple(
> >+ char *name, unsigned id,
> >+
On 3/31/07, David Brownell <[EMAIL PROTECTED]> wrote:
+A better solution is usually:
+
+ struct platform_device *platform_device_register_simple(
+ char *name, unsigned id,
+ struct resource *res, unsigned nres);
+
+You can use
On 3/31/07, David Brownell [EMAIL PROTECTED] wrote:
+A better solution is usually:
+
+ struct platform_device *platform_device_register_simple(
+ char *name, unsigned id,
+ struct resource *res, unsigned nres);
+
+You can use
On Mon, Apr 02, 2007 at 04:16:03PM -0400, Dmitry Torokhov wrote:
On 3/31/07, David Brownell [EMAIL PROTECTED] wrote:
+A better solution is usually:
+
+ struct platform_device *platform_device_register_simple(
+ char *name, unsigned id,
+
Make note of the legacy "probe-the-hardware" drivers, and some APIs that are
mostly unused except by such drivers. We probably can't escape having legacy
drivers for a while (e.g. old ISA drivers), but we can at least discourage
this style code for new drivers, and unless it's unavoidable.
Make note of the legacy probe-the-hardware drivers, and some APIs that are
mostly unused except by such drivers. We probably can't escape having legacy
drivers for a while (e.g. old ISA drivers), but we can at least discourage
this style code for new drivers, and unless it's unavoidable.
6 matches
Mail list logo