Skip to content

Commit

Permalink
staging: r8712u: Fix sparse message
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Larry Finger authored and Greg Kroah-Hartman committed Jan 21, 2011
1 parent 6ddc5fb commit e3dc896
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions drivers/staging/rtl8712/rtl871x_ioctl_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
******************************************************************************/

#define _RTL871X_IOCTL_LINUX_C_
#define _RTL871X_MP_IOCTL_C_

#include "osdep_service.h"
#include "drv_types.h"
Expand Down
2 changes: 0 additions & 2 deletions drivers/staging/rtl8712/rtl871x_mp_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
*
******************************************************************************/

#define _RTL871X_MP_IOCTL_C_

#include "osdep_service.h"
#include "drv_types.h"
#include "mlme_osdep.h"
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/rtl8712/rtl871x_mp_ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ unsigned int mp_ioctl_xmit_packet_hdl(struct oid_par_priv *poid_par_priv);
#ifdef _RTL871X_MP_IOCTL_C_ /* CAUTION!!! */
/* This ifdef _MUST_ be left in!! */

struct mp_ioctl_handler mp_ioctl_hdl[] = {
static struct mp_ioctl_handler mp_ioctl_hdl[] = {
{sizeof(u32), oid_rt_pro_start_test_hdl,
OID_RT_PRO_START_TEST},/*0*/
{sizeof(u32), oid_rt_pro_stop_test_hdl,
Expand Down

0 comments on commit e3dc896

Please sign in to comment.