diff options
Diffstat (limited to 'drivers/usb/host/r8a66597.h')
-rw-r--r-- | drivers/usb/host/r8a66597.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/usb/host/r8a66597.h b/drivers/usb/host/r8a66597.h index 84ee01417315..ecacde4d69b0 100644 --- a/drivers/usb/host/r8a66597.h +++ b/drivers/usb/host/r8a66597.h | |||
@@ -26,6 +26,10 @@ | |||
26 | #ifndef __R8A66597_H__ | 26 | #ifndef __R8A66597_H__ |
27 | #define __R8A66597_H__ | 27 | #define __R8A66597_H__ |
28 | 28 | ||
29 | #if defined(CONFIG_SUPERH_ON_CHIP_R8A66597) && defined(CONFIG_HAVE_CLK) | ||
30 | #include <linux/clk.h> | ||
31 | #endif | ||
32 | |||
29 | #define SYSCFG0 0x00 | 33 | #define SYSCFG0 0x00 |
30 | #define SYSCFG1 0x02 | 34 | #define SYSCFG1 0x02 |
31 | #define SYSSTS0 0x04 | 35 | #define SYSSTS0 0x04 |
@@ -481,7 +485,9 @@ struct r8a66597_root_hub { | |||
481 | struct r8a66597 { | 485 | struct r8a66597 { |
482 | spinlock_t lock; | 486 | spinlock_t lock; |
483 | unsigned long reg; | 487 | unsigned long reg; |
484 | 488 | #if defined(CONFIG_SUPERH_ON_CHIP_R8A66597) && defined(CONFIG_HAVE_CLK) | |
489 | struct clk *clk; | ||
490 | #endif | ||
485 | struct r8a66597_device device0; | 491 | struct r8a66597_device device0; |
486 | struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; | 492 | struct r8a66597_root_hub root_hub[R8A66597_MAX_ROOT_HUB]; |
487 | struct list_head pipe_queue[R8A66597_MAX_NUM_PIPE]; | 493 | struct list_head pipe_queue[R8A66597_MAX_NUM_PIPE]; |