[PATCH 1/9] ARM: S5PV210: Add audio platform devices

Jassi Brar jassisinghbrar at gmail.com
Tue May 18 03:01:58 EDT 2010


On Tue, May 18, 2010 at 2:39 PM, Ben Dooks <ben-linux at fluff.org> wrote:
> On Tue, May 18, 2010 at 02:34:21PM +0900, Jassi Brar wrote:
>> On Tue, May 18, 2010 at 2:24 PM, Ben Dooks <ben-linux at fluff.org> wrote:
>> > On Tue, May 18, 2010 at 02:10:14PM +0900, Jassi Brar wrote:
>>
>> .....
>>
>> >> +struct platform_device s5pv210_device_iis0 = {
>> >> +     .name             = "s3c64xx-iis-v4",
>> >> +     .id               = -1,
>> >> +     .num_resources    = ARRAY_SIZE(s5pv210_iis0_resource),
>> >> +     .resource         = s5pv210_iis0_resource,
>> >> +     .dev = {
>> >> +             .platform_data = &s3c_i2s_pdata,
>> >> +     },
>> >> +}; EXPORT_SYMBOL(s5pv210_device_iis0);
>> >
>> > do we really need to be exporting these devices like this,
>> > how much is needed otuside of machine support?
>> Not used except by machine code. Every platform device of
>> Samsung has been declared that way and I just don't wanna
>> stick my neck out where I can do without :)
>
> not all of them have, and i'll probably go around finding
> and culling any more as soon as possible.
Ok. Thanks.



More information about the linux-arm-kernel mailing list