[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <792863.15718.qm@web94916.mail.in2.yahoo.com>
Date: Tue, 30 Mar 2010 20:33:25 +0530 (IST)
From: Pavan Savoy <pavan_savoy@...com>
To: Alan Cox <alan@...rguk.ukuu.org.uk>
Cc: marcel@...tmann.org, gregkh@...e.de, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drivers:staging: sources for HCI LL PM protocol
--- On Tue, 30/3/10, Alan Cox <alan@...rguk.ukuu.org.uk> wrote:
> From: Alan Cox <alan@...rguk.ukuu.org.uk>
> Subject: Re: [PATCH] drivers:staging: sources for HCI LL PM protocol
> To: pavan_savoy@...com
> Cc: marcel@...tmann.org, gregkh@...e.de, linux-kernel@...r.kernel.org, pavan_savoy@...oo.co.in
> Date: Tuesday, 30 March, 2010, 4:54 PM
>
> > +static struct ll_struct_s *ll;
>
> More magic globals. I think this more than anything else
> demonstrates why
> you need some kind of proper per device context passed
> around
>
The ST KIM module, is a platform device, which I use to pass the GPIO data from the arch/XX/board-XXX.c files, so, suppose we do have 2 devices for a platform, then I would need 2 platform devices right ?
And there-by can I use that platform device context ?
However the problem really is,
Suppose a BT driver wants to do an st_register() and use ST as its transport, how can I then tie it to a device ?
> --
> 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/
>
Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/
--
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