mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
staging: vchiq: Load bcm2835_isp driver from vchiq
bcmn2835_isp is a platform driver dependent on vchiq, therefore add the load/unload functions for it to vchiq. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
This commit is contained in:
committed by
popcornmix
parent
eb450d9524
commit
d7d2e38887
@@ -111,6 +111,7 @@ static struct platform_device *bcm2835_camera;
|
||||
static struct platform_device *bcm2835_audio;
|
||||
static struct platform_device *bcm2835_codec;
|
||||
static struct platform_device *vcsm_cma;
|
||||
static struct platform_device *bcm2835_isp;
|
||||
|
||||
static struct vchiq_drvdata bcm2835_drvdata = {
|
||||
.cache_line_size = 32,
|
||||
@@ -2794,6 +2795,7 @@ static int vchiq_probe(struct platform_device *pdev)
|
||||
bcm2835_codec = vchiq_register_child(pdev, "bcm2835-codec");
|
||||
bcm2835_camera = vchiq_register_child(pdev, "bcm2835-camera");
|
||||
bcm2835_audio = vchiq_register_child(pdev, "bcm2835_audio");
|
||||
bcm2835_isp = vchiq_register_child(pdev, "bcm2835-isp");
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -2806,6 +2808,7 @@ failed_platform_init:
|
||||
|
||||
static int vchiq_remove(struct platform_device *pdev)
|
||||
{
|
||||
platform_device_unregister(bcm2835_isp);
|
||||
platform_device_unregister(bcm2835_audio);
|
||||
platform_device_unregister(bcm2835_camera);
|
||||
platform_device_unregister(bcm2835_codec);
|
||||
|
||||
Reference in New Issue
Block a user