]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/ubc.h
Driver core: accept all valid action-strings in uevent-trigger
[linux-2.6-omap-h63xx.git] / include / asm-sh / ubc.h
index ae9bbdeefbe128035cee2cae9b28419436b814ff..38d46e01b8463dd04e20f664041a0df8d469a039 100644 (file)
 #define BRCR_UBDE              (1 << 0)
 
 #ifndef __ASSEMBLY__
-/* arch/sh/kernel/ubc.S */
-extern void ubc_wakeup(void);
+/* arch/sh/kernel/cpu/ubc.S */
 extern void ubc_sleep(void);
+
+#ifdef CONFIG_UBC_WAKEUP
+extern void ubc_wakeup(void);
+#else
+#define ubc_wakeup()   do { } while (0)
+#endif
 #endif
 
 #endif /* __KERNEL__ */