Skip to content
Commit c086f282 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King
Browse files

[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: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 39ca371c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment