projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad9dd94
)
[ARM] dma: constify dma controller name and dma ops
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Thu, 11 Dec 2008 14:50:39 +0000
(14:50 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Thu, 11 Dec 2008 14:52:42 +0000
(14:52 +0000)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/mach/dma.h
patch
|
blob
|
history
diff --git
a/arch/arm/include/asm/mach/dma.h
b/arch/arm/include/asm/mach/dma.h
index 4326738ff36f206d450efd29d414059653b02490..3122adae80be01be7362eefa31f02365ac879d98 100644
(file)
--- 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 */
- c
har
*type;
+ c
onst 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 {