Commit 6f1e4141 authored by Dominic Braun's avatar Dominic Braun Committed by Greg Kroah-Hartman
Browse files

staging: vc04_services: Remove VCHIQ_SLOT_T typedef



Typedefing structs is not encouraged in the kernel.

Signed-off-by: default avatarDominic Braun <inf.braun@fau.de>
Signed-off-by: default avatarTobias Büttner <tobias.buettner@fau.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a6103603
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2180,7 +2180,7 @@ vchiq_init_state(VCHIQ_STATE_T *state, VCHIQ_SLOT_ZERO_T *slot_zero)

	state->local = local;
	state->remote = remote;
	state->slot_data = (VCHIQ_SLOT_T *)slot_zero;
	state->slot_data = (struct vchiq_slot *)slot_zero;

	/*
		initialize events and mutexes
+3 −3
Original line number Diff line number Diff line
@@ -270,9 +270,9 @@ typedef struct opaque_platform_state_t *VCHIQ_PLATFORM_STATE_T;

typedef struct vchiq_state_struct VCHIQ_STATE_T;

typedef struct vchiq_slot_struct {
struct vchiq_slot {
	char data[VCHIQ_SLOT_SIZE];
} VCHIQ_SLOT_T;
};

struct vchiq_slot_info {
	/* Use two counters rather than one to avoid the need for a mutex. */
@@ -404,7 +404,7 @@ struct vchiq_state_struct {

	struct vchiq_shared_state *local;
	struct vchiq_shared_state *remote;
	VCHIQ_SLOT_T *slot_data;
	struct vchiq_slot *slot_data;

	unsigned short default_slot_quota;
	unsigned short default_message_quota;