There's a check for CONFIG_MACH_EMGR. But the Kconfig symbol MACH_EMGR
doesn't exist. Remove that check and the single #define it hides. Note
that this macro isn't used by this driver anyway.

Signed-off-by: Paul Bolle <pebo...@tiscali.nl>
---
Compile tested only (on x86_64).

 drivers/staging/emxx_udc/emxx_udc.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/emxx_udc/emxx_udc.h 
b/drivers/staging/emxx_udc/emxx_udc.h
index 578fdcfed5e9..ee1b80d705fa 100644
--- a/drivers/staging/emxx_udc/emxx_udc.h
+++ b/drivers/staging/emxx_udc/emxx_udc.h
@@ -437,10 +437,6 @@
 #define PLL_RESUME                     BIT05           /* RW */
 #define PLL_LOCK                       BIT04           /* R */
 
-#ifdef CONFIG_MACH_EMGR
-#define PLL_RST                                BIT02           /* RW */
-#endif
-
 #define EPC_RST                                BIT00           /* RW */
 
 /*------- (0x1014) USBF_EPTEST Register */
-- 
1.9.3


_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to