[media] marvell-cam: Allocate the i2c adapter in the platform driver
authorJonathan Corbet <corbet@lwn.net>
Sat, 11 Jun 2011 17:46:48 +0000 (14:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:01 +0000 (17:53 -0300)
commit595a93a47a3b7dc1be84160fbd73b1406074f411
treea39b1ced0360d377fe7f4d167a2116e9b87cde88
parent1c68f889c3287bd9beedd23164804e7e09c6566b
[media] marvell-cam: Allocate the i2c adapter in the platform driver

The upcoming mmp-camera driver will need an i2c_adapter structure allocated
externally, so change the core adapter to a pointer and require the
platform code to fill it in.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/marvell-ccic/cafe-driver.c
drivers/media/video/marvell-ccic/mcam-core.c
drivers/media/video/marvell-ccic/mcam-core.h
This page took 0.025375 seconds and 5 git commands to generate.