diff options
author | Ben Dooks <ben-linux@fluff.org> | 2005-10-18 08:51:34 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-10-18 08:51:34 +0200 |
commit | c086f282c01d7e5a887c3f7b190520538267f12e (patch) | |
tree | 242684c30b3bcd8fd15046af94aa3c7874521690 /include/asm-arm/locks.h | |
parent | [PATCH] kbuild: Eliminate build error when KALLSYMS not defined (diff) | |
download | linux-c086f282c01d7e5a887c3f7b190520538267f12e.tar.xz linux-c086f282c01d7e5a887c3f7b190520538267f12e.zip |
[ARM] 3018/1: S3C2410 - check de-referenced device is really a platform device
Patch from Ben Dooks
Check that the device we are looking at is really
a platform device before trying to cast it to one
to find out the platform bus number.
Thanks to RMK for pointing this out.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/locks.h')
0 files changed, 0 insertions, 0 deletions