diff options
author | Dominic Braun <inf.braun@fau.de> | 2018-12-14 13:04:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-17 14:45:12 +0100 |
commit | 3515279e6ed1304085e044804d4906adf47ce501 (patch) | |
tree | 8ece8fe2dc3ddc165e5aef9d3ce91586fad070eb /drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h | |
parent | 392342b77c26b1c7dc33e6d8dd000e40ab47a0f8 (diff) |
staging: vc04_services: Remove VCHIQ_GET_CONFIG_T typedef
Typedefing structs is not encouraged in the kernel.
Signed-off-by: Dominic Braun <inf.braun@fau.de>
Signed-off-by: Tobias Büttner <tobias.buettner@fau.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h')
-rw-r--r-- | drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h index f4d8bd2b3c6b..6de2dd3c37d1 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_ioctl.h @@ -83,10 +83,10 @@ struct vchiq_dequeue_message { void *buf; }; -typedef struct { +struct vchiq_get_config { unsigned int config_size; struct vchiq_config __user *pconfig; -} VCHIQ_GET_CONFIG_T; +}; typedef struct { unsigned int handle; @@ -116,7 +116,7 @@ struct vchiq_dump_mem { _IOWR(VCHIQ_IOC_MAGIC, 8, struct vchiq_dequeue_message) #define VCHIQ_IOC_GET_CLIENT_ID _IO(VCHIQ_IOC_MAGIC, 9) #define VCHIQ_IOC_GET_CONFIG \ - _IOWR(VCHIQ_IOC_MAGIC, 10, VCHIQ_GET_CONFIG_T) + _IOWR(VCHIQ_IOC_MAGIC, 10, struct vchiq_get_config) #define VCHIQ_IOC_CLOSE_SERVICE _IO(VCHIQ_IOC_MAGIC, 11) #define VCHIQ_IOC_USE_SERVICE _IO(VCHIQ_IOC_MAGIC, 12) #define VCHIQ_IOC_RELEASE_SERVICE _IO(VCHIQ_IOC_MAGIC, 13) |