[PATCH 4/20] Mark platform device data as const

Paul Mackerras paulus at samba.org
Fri Jul 7 09:41:21 EST 2006


Jeremy Kerr writes:

> platform_device_add_data()'s data argument can be qualified as const -
> the function just copies it to another buffer.

Ummm, you change the actual function definition here, but you put the
change to the declaration in include/linux/platform_device.h in your
[5/20] patch.  Please redo this patch with the change to the
declaration included.

Paul.



More information about the Linuxppc-dev mailing list