diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-12-11 09:50:39 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-12-11 09:52:42 -0500 |
commit | 8c56afcbea22e472d3bfa8ddf06f23cd6bc56826 (patch) | |
tree | 7cd7611759f5480c52e90aa8ee62cb62c1178d45 /arch/arm/include | |
parent | ad9dd94c384f7ee37b798a9349b8c42da8fa99ab (diff) |
[ARM] dma: constify dma controller name and dma ops
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/mach/dma.h | 4 |
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 { | |||
21 | void (*disable)(unsigned int, dma_t *); /* mandatory */ | 21 | void (*disable)(unsigned int, dma_t *); /* mandatory */ |
22 | int (*residue)(unsigned int, dma_t *); /* optional */ | 22 | int (*residue)(unsigned int, dma_t *); /* optional */ |
23 | int (*setspeed)(unsigned int, dma_t *, int); /* optional */ | 23 | int (*setspeed)(unsigned int, dma_t *, int); /* optional */ |
24 | char *type; | 24 | const char *type; |
25 | }; | 25 | }; |
26 | 26 | ||
27 | struct dma_struct { | 27 | struct dma_struct { |
@@ -40,7 +40,7 @@ struct dma_struct { | |||
40 | unsigned int lock; /* Device is allocated */ | 40 | unsigned int lock; /* Device is allocated */ |
41 | const char *device_id; /* Device name */ | 41 | const char *device_id; /* Device name */ |
42 | 42 | ||
43 | struct dma_ops *d_ops; | 43 | const struct dma_ops *d_ops; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | struct floppy_dma { | 46 | struct floppy_dma { |