diff options
author | Kristina Martšenko | 2014-03-03 22:05:46 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-03-07 22:32:48 +0100 |
commit | eb55b5b48088924da1b7bab494fc6c21f91ffa7b (patch) | |
tree | cb6563413ea5c53ea8a0de1f9a85f885aa046001 /drivers/staging/sbe-2t3e3/ctrl.c | |
parent | staging: sbe-2t3e3: remove t3e3_stats_t typedef (diff) | |
download | kernel-qcow2-linux-eb55b5b48088924da1b7bab494fc6c21f91ffa7b.tar.gz kernel-qcow2-linux-eb55b5b48088924da1b7bab494fc6c21f91ffa7b.tar.xz kernel-qcow2-linux-eb55b5b48088924da1b7bab494fc6c21f91ffa7b.zip |
staging: sbe-2t3e3: remove t3e3_resp_t typedef
Kernel coding style does not recommend using typedefs for structures, so
remove the t3e3_resp_t typedef.
Fix the following checkpatch warning:
drivers/staging/sbe-2t3e3/ctrl.h:123: WARNING: do not add new typedefs
Signed-off-by: Kristina Martšenko <kristina.martsenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sbe-2t3e3/ctrl.c')
-rw-r--r-- | drivers/staging/sbe-2t3e3/ctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sbe-2t3e3/ctrl.c b/drivers/staging/sbe-2t3e3/ctrl.c index ef646c2d76ca..e0964ac9e7d7 100644 --- a/drivers/staging/sbe-2t3e3/ctrl.c +++ b/drivers/staging/sbe-2t3e3/ctrl.c @@ -287,7 +287,7 @@ static void t3e3_port_del_stats(struct channel *sc) } void t3e3_if_config(struct channel *sc, u32 cmd, char *set, - t3e3_resp_t *ret, int *rlen) + struct t3e3_resp *ret, int *rlen) { struct t3e3_param *param = (struct t3e3_param *)set; u32 *data = (u32 *)set; |