summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/ether.c
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-05-28 09:15:47 +0200
committerFelipe Balbi <balbi@ti.com>2013-06-10 17:57:46 +0300
commitb29002a157940752dfed2c488b2011f63f007d71 (patch)
treeca07b354cfb93af8a19613669ce32629a94869f9 /drivers/usb/gadget/ether.c
parent9c62ce83e4258bacc459faf57bf2ed83cce6be08 (diff)
downloadlinux-next-b29002a157940752dfed2c488b2011f63f007d71.tar.gz
usb: gadget: f_eem: convert to new function interface with backward compatibility
Converting eem to the new function interface requires converting the USB eem's function code and its users. This patch converts the f_eem.c to the new function interface. The file is now compiled into a separate usb_f_eem.ko module. The old function interface is provided by means of a preprocessor conditional directives. After all users are converted, the old interface can be removed. Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/ether.c')
-rw-r--r--drivers/usb/gadget/ether.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c
index f4d46d7cfe37..397609da5909 100644
--- a/drivers/usb/gadget/ether.c
+++ b/drivers/usb/gadget/ether.c
@@ -108,6 +108,8 @@ static inline bool has_rndis(void)
#include "f_rndis.c"
#include "rndis.h"
#endif
+
+#define USB_FEEM_INCLUDED
#include "f_eem.c"
/*-------------------------------------------------------------------------*/