diff options
Diffstat (limited to 'include/asm-sh/dma.h')
-rw-r--r-- | include/asm-sh/dma.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-sh/dma.h b/include/asm-sh/dma.h index 4c75b70b6414..a65b02fd186e 100644 --- a/include/asm-sh/dma.h +++ b/include/asm-sh/dma.h | |||
@@ -152,14 +152,9 @@ extern struct dma_info *get_dma_info_by_name(const char *dmac_name); | |||
152 | extern int dma_extend(unsigned int chan, unsigned long op, void *param); | 152 | extern int dma_extend(unsigned int chan, unsigned long op, void *param); |
153 | extern int register_chan_caps(const char *dmac, struct dma_chan_caps *capslist); | 153 | extern int register_chan_caps(const char *dmac, struct dma_chan_caps *capslist); |
154 | 154 | ||
155 | #ifdef CONFIG_SYSFS | ||
156 | /* arch/sh/drivers/dma/dma-sysfs.c */ | 155 | /* arch/sh/drivers/dma/dma-sysfs.c */ |
157 | extern int dma_create_sysfs_files(struct dma_channel *, struct dma_info *); | 156 | extern int dma_create_sysfs_files(struct dma_channel *, struct dma_info *); |
158 | extern void dma_remove_sysfs_files(struct dma_channel *, struct dma_info *); | 157 | extern void dma_remove_sysfs_files(struct dma_channel *, struct dma_info *); |
159 | #else | ||
160 | #define dma_create_sysfs_file(channel, info) do { } while (0) | ||
161 | #define dma_remove_sysfs_file(channel, info) do { } while (0) | ||
162 | #endif | ||
163 | 158 | ||
164 | #ifdef CONFIG_PCI | 159 | #ifdef CONFIG_PCI |
165 | extern int isa_dma_bridge_buggy; | 160 | extern int isa_dma_bridge_buggy; |