summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/rtl8712_recv.c
diff options
context:
space:
mode:
authorPaul Gortmaker2012-05-10 04:42:45 +0200
committerPaul Gortmaker2012-05-10 19:09:35 +0200
commitbe9a12040f6d1a29b9a7fdec89058edca0dc2c4d (patch)
tree607d439fb7d1ea12b0cd578dafaf5fb9ba181627 /drivers/staging/rtl8712/rtl8712_recv.c
parentstaging: rts5139: remove unused variable option.ww_enable (diff)
downloadkernel-qcow2-linux-be9a12040f6d1a29b9a7fdec89058edca0dc2c4d.tar.gz
kernel-qcow2-linux-be9a12040f6d1a29b9a7fdec89058edca0dc2c4d.tar.xz
kernel-qcow2-linux-be9a12040f6d1a29b9a7fdec89058edca0dc2c4d.zip
staging: wean rtl8712 off of its ancient duplicate of if_ether.h
This driver should not be carrying around ancient copies of headers like <linux/if_ether.h> for its own use. Mapping it onto the mainline one uncovers no build issues. Cc: Larry Finger <Larry.Finger@lwfinger.net> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/staging/rtl8712/rtl8712_recv.c')
-rw-r--r--drivers/staging/rtl8712/rtl8712_recv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl8712_recv.c b/drivers/staging/rtl8712/rtl8712_recv.c
index 5d7217fa80da..3eaaf31daebc 100644
--- a/drivers/staging/rtl8712/rtl8712_recv.c
+++ b/drivers/staging/rtl8712/rtl8712_recv.c
@@ -28,12 +28,13 @@
#define _RTL8712_RECV_C_
+#include <linux/if_ether.h>
+
#include "osdep_service.h"
#include "drv_types.h"
#include "recv_osdep.h"
#include "mlme_osdep.h"
#include "ip.h"
-#include "if_ether.h"
#include "ethernet.h"
#include "usb_ops.h"
#include "wifi.h"