Messages in this thread | | | From | "Rafael J. Wysocki" <> | Subject | Re: [PATCH] Driver Core: Add platform device arch data V2 | Date | Wed, 3 Jun 2009 11:01:55 +0200 |
| |
On Tuesday 02 June 2009, Magnus Damm wrote: > 2009/6/2 Rafael J. Wysocki <rjw@sisk.pl>: > > On Monday 01 June 2009, Rafael J. Wysocki wrote: > >> On Monday 01 June 2009, Magnus Damm wrote: > >> > From: Magnus Damm <damm@igel.co.jp> [--snip--] > > If you guys dislike adding arch specific data to struct platform > device then for SuperH we can just (mis)use the arch specific data in > struct device instead. I'm afraid that solution wastes memory since > the data will only be used for platform devices anyway. So I prefer > adding arch specific data to struct platform_device instead of struct > device if possible.
BTW, what is the difference really? You can always put dev.platform_data = NULL for devices that don't have any platform data, can't you?
Rafael
| |