Skip to content

Commit 25c7597

Browse files
lategoodbyegregkh
authored andcommitted
staging: vchiq_arm: Register a platform device for audio
Following Eric's commit 37b7b30 ("staging/vc04_services: Register a platform device for the camera driver.") this register the audio driver as a platform device, too. Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 405e2f9 commit 25c7597

File tree

1 file changed

+2
-0
lines changed
  • drivers/staging/vc04_services/interface/vchiq_arm

1 file changed

+2
-0
lines changed

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ static VCHIQ_STATE_T g_state;
167167
static struct class *vchiq_class;
168168
static DEFINE_SPINLOCK(msg_queue_spinlock);
169169
static struct platform_device *bcm2835_camera;
170+
static struct platform_device *bcm2835_audio;
170171

171172
static struct vchiq_drvdata bcm2835_drvdata = {
172173
.cache_line_size = 32,
@@ -3553,6 +3554,7 @@ static int vchiq_probe(struct platform_device *pdev)
35533554
MAJOR(vchiq_devid), MINOR(vchiq_devid));
35543555

35553556
bcm2835_camera = vchiq_register_child(pdev, "bcm2835-camera");
3557+
bcm2835_audio = vchiq_register_child(pdev, "bcm2835_audio");
35563558

35573559
return 0;
35583560

0 commit comments

Comments
 (0)