staging/vc04_services: Register a platform device for the camera driver.
authorEric Anholt <eric@anholt.net>
Thu, 10 May 2018 19:42:05 +0000 (12:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 May 2018 10:02:04 +0000 (12:02 +0200)
commit37b7b3087a2f183325502e8dae7fbb9cf987f221
tree3abcf02fb38f23e8bf1f1085a67c1752cbd57968
parent00135fc5c37852f4f134f6ec66f6379e1fc54674
staging/vc04_services: Register a platform device for the camera driver.

We had the camera driver set up in a module_init function, but that
meant that the camera driver would fail to load if it was initialized
before VCHI.  By attaching to this platform_device, it can get a
defined load order.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c