]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf94c66964b16ab0fca13d8c9d352f6d68b58a147
treea39b1ced0360d377fe7f4d167a2116e9b87cde88
parent11e0b2b0fc76630a6477a5825a3cba5763259318
[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