diff options
Diffstat (limited to 'drivers/usb/musb/musb_core.h')
-rw-r--r-- | drivers/usb/musb/musb_core.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 381d648a36b8..6aa5f22e5274 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h | |||
@@ -95,6 +95,13 @@ struct musb_ep; | |||
95 | #endif | 95 | #endif |
96 | #endif /* need MUSB gadget selection */ | 96 | #endif /* need MUSB gadget selection */ |
97 | 97 | ||
98 | #ifndef CONFIG_HAVE_CLK | ||
99 | /* Dummy stub for clk framework */ | ||
100 | #define clk_get(dev, id) NULL | ||
101 | #define clk_put(clock) do {} while (0) | ||
102 | #define clk_enable(clock) do {} while (0) | ||
103 | #define clk_disable(clock) do {} while (0) | ||
104 | #endif | ||
98 | 105 | ||
99 | #ifdef CONFIG_PROC_FS | 106 | #ifdef CONFIG_PROC_FS |
100 | #include <linux/fs.h> | 107 | #include <linux/fs.h> |