summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorUmang Jain <umang.jain@ideasonboard.com>2022-12-21 13:10:47 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-20 16:11:16 +0200
commit73bacecfb7dcd064814ee044ec3f1f3d8632bd6a (patch)
treeb22ecdd62182d7c594b40136ec032d5ebc4cf819 /drivers/staging
parent1e302984616bb8e547347ac62beaaca2ad5db053 (diff)
staging: vchiq_arm: Remove extra struct vchiq_instance declaration
Additional declaration of struct vchiq_instance was introduced in the commit 726e79f8a648 ("staging: vchiq_arm: pass vchiq instance to service callbacks"). Drop the extra declaration. Fixes: 726e79f8a648 ("staging: vchiq_arm: pass vchiq instance to service callbacks") Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Stefan Wahren <stefan.wahren@i2se.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Link: https://lore.kernel.org/r/20221221074047.233473-1-umang.jain@ideasonboard.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h b/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h
index 66965da11443..52e106f117da 100644
--- a/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h
+++ b/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h
@@ -78,8 +78,6 @@ struct vchiq_service_params_kernel {
short version_min; /* Update for incompatible changes */
};
-struct vchiq_instance;
-
extern int vchiq_initialise(struct vchiq_instance **pinstance);
extern int vchiq_shutdown(struct vchiq_instance *instance);
extern int vchiq_connect(struct vchiq_instance *instance);