mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
staging: vchiq_arm: Remove bcm2835_camera from vchiq
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>
This commit is contained in:
parent
90204a38a7
commit
e31d4d6470
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user