]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6381feb2063daab082411b9045f53ac0622ed395
tree3abcf02fb38f23e8bf1f1085a67c1752cbd57968
parentd44cd29896ee885a195fc3c409eb6c84e752c802
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