Skip to content

Commit

Permalink
[ARM] dma: constify dma controller name and dma ops
Browse files Browse the repository at this point in the history
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Dec 11, 2008
1 parent ad9dd94 commit 8c56afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/include/asm/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 8c56afc

Please sign in to comment.