summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2008-12-11 17:50:39 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-12-11 17:52:42 +0300
commit8c56afcbea22e472d3bfa8ddf06f23cd6bc56826 (patch)
tree7cd7611759f5480c52e90aa8ee62cb62c1178d45 /arch
parentad9dd94c384f7ee37b798a9349b8c42da8fa99ab (diff)
downloadlinux-8c56afcbea22e472d3bfa8ddf06f23cd6bc56826.tar.xz
[ARM] dma: constify dma controller name and dma ops
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/mach/dma.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/mach/dma.h b/arch/arm/include/asm/mach/dma.h
index 4326738ff36f..3122adae80be 100644
--- a/arch/arm/include/asm/mach/dma.h
+++ b/arch/arm/include/asm/mach/dma.h
@@ -21,7 +21,7 @@ struct dma_ops {
void (*disable)(unsigned int, dma_t *); /* mandatory */
int (*residue)(unsigned int, dma_t *); /* optional */
int (*setspeed)(unsigned int, dma_t *, int); /* optional */
- char *type;
+ const char *type;
};
struct dma_struct {
@@ -40,7 +40,7 @@ struct dma_struct {
unsigned int lock; /* Device is allocated */
const char *device_id; /* Device name */
- struct dma_ops *d_ops;
+ const struct dma_ops *d_ops;
};
struct floppy_dma {