]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: vchiq_arm: Remove bcm2835_camera from vchiq
authorJai Luthra <jai.luthra@ideasonboard.com>
Wed, 29 Oct 2025 10:30:06 +0000 (16:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Nov 2025 02:24:20 +0000 (11:24 +0900)
As bcm2835_camera driver is dropped, also drop the loading/unloading
support for it in vchiq.

Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://patch.msgid.link/20251029-vchiq-destage-v3-2-da8d6c83c2c5@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c

index 721b15b7e13b9f25cee7619575bbfa1a4734cce8..c84304dfcdc96742f0f0ef655642a7de69552c3c 100644 (file)
@@ -62,7 +62,6 @@
  * the interface.
  */
 static struct vchiq_device *bcm2835_audio;
-static struct vchiq_device *bcm2835_camera;
 
 static const struct vchiq_platform_info bcm2835_info = {
        .cache_line_size = 32,
@@ -1416,7 +1415,6 @@ static int vchiq_probe(struct platform_device *pdev)
        vchiq_debugfs_init(&mgmt->state);
 
        bcm2835_audio = vchiq_device_register(&pdev->dev, "bcm2835-audio");
-       bcm2835_camera = vchiq_device_register(&pdev->dev, "bcm2835-camera");
 
        return 0;
 }
@@ -1426,7 +1424,6 @@ static void vchiq_remove(struct platform_device *pdev)
        struct vchiq_drv_mgmt *mgmt = dev_get_drvdata(&pdev->dev);
 
        vchiq_device_unregister(bcm2835_audio);
-       vchiq_device_unregister(bcm2835_camera);
        vchiq_debugfs_deinit();
        vchiq_deregister_chrdev();
        vchiq_platform_uninit(mgmt);