[ARM] dma: constify dma controller name and dma ops

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King 2008-12-11 14:50:39 +00:00 committed by Russell King
parent ad9dd94c38
commit 8c56afcbea
1 changed files with 2 additions and 2 deletions

View File

@ -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 {