Messages in this thread | | | Date | Tue, 30 Mar 2010 20:33:25 +0530 (IST) | From | Pavan Savoy <> | Subject | Re: [PATCH] drivers:staging: sources for HCI LL PM protocol |
| |
--- On Tue, 30/3/10, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> From: Alan Cox <alan@lxorguk.ukuu.org.uk> > Subject: Re: [PATCH] drivers:staging: sources for HCI LL PM protocol > To: pavan_savoy@ti.com > Cc: marcel@holtmann.org, gregkh@suse.de, linux-kernel@vger.kernel.org, pavan_savoy@yahoo.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@vger.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |