Skip to content

Commit

Permalink
sh: dma: Fix CONFIG_SYSFS=n build.
Browse files Browse the repository at this point in the history
Trivial build fix for when sysfs is disabled.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Sep 21, 2007
1 parent 35f3abe commit d581593
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/asm-sh/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,9 @@ extern struct dma_info *get_dma_info_by_name(const char *dmac_name);
extern int dma_extend(unsigned int chan, unsigned long op, void *param);
extern int register_chan_caps(const char *dmac, struct dma_chan_caps *capslist);

#ifdef CONFIG_SYSFS
/* arch/sh/drivers/dma/dma-sysfs.c */
extern int dma_create_sysfs_files(struct dma_channel *, struct dma_info *);
extern void dma_remove_sysfs_files(struct dma_channel *, struct dma_info *);
#else
#define dma_create_sysfs_file(channel, info) do { } while (0)
#define dma_remove_sysfs_file(channel, info) do { } while (0)
#endif

#ifdef CONFIG_PCI
extern int isa_dma_bridge_buggy;
Expand Down

0 comments on commit d581593

Please sign in to comment.