From: Umang Jain Date: Wed, 21 Dec 2022 07:40:47 +0000 (+0530) Subject: staging: vchiq_arm: Remove extra struct vchiq_instance declaration X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=73bacecfb7dcd064814ee044ec3f1f3d8632bd6a;p=linux.git 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 Reviewed-by: Stefan Wahren Reviewed-by: Kieran Bingham Link: https://lore.kernel.org/r/20221221074047.233473-1-umang.jain@ideasonboard.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h b/drivers/staging/vc04_services/include/linux/raspberrypi/vchiq.h index 66965da114438..52e106f117da1 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);