diff options
| author | Atsushi Nemoto <[email protected]> | 2009-12-15 16:46:04 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-12-16 07:19:59 -0800 |
| commit | 50e49bee3fc5c0cd0aff80ebd8061f356b7b9bd8 (patch) | |
| tree | d5326488fb1f09251f9bfdca682d6c02993725b4 /include/linux/debugobjects.h | |
| parent | 3151520d88b27b9dd4fb1c1f89a94807f0ad7ef1 (diff) | |
rtc: do not use container_of macro as an argument for to_platform_device
The to_platform_device macro itself uses container_of macro. Nested use
of container_of macro causes following sparse warnings:
rtc-ds1553.c:259:3: warning: symbol '__mptr' shadows an earlier one
rtc-ds1553.c:259:3: originally declared here
Signed-off-by: Atsushi Nemoto <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: David Brownell <[email protected]>
Cc: Andrew Sharp <[email protected]>
Cc: Thomas Hommel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions