Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c56afcb authored by Russell King's avatar Russell King Committed by Russell King
Browse files

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

parent ad9dd94c
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -21,7 +21,7 @@ struct dma_ops {
	void 	(*disable)(unsigned int, dma_t *);		/* mandatory */
	void 	(*disable)(unsigned int, dma_t *);		/* mandatory */
	int	(*residue)(unsigned int, dma_t *);		/* optional */
	int	(*residue)(unsigned int, dma_t *);		/* optional */
	int	(*setspeed)(unsigned int, dma_t *, int);	/* optional */
	int	(*setspeed)(unsigned int, dma_t *, int);	/* optional */
	char	*type;
	const char *type;
};
};


struct dma_struct {
struct dma_struct {
@@ -40,7 +40,7 @@ struct dma_struct {
	unsigned int	lock;		/* Device is allocated		*/
	unsigned int	lock;		/* Device is allocated		*/
	const char	*device_id;	/* Device name			*/
	const char	*device_id;	/* Device name			*/


	struct dma_ops	*d_ops;
	const struct dma_ops *d_ops;
};
};


struct floppy_dma {
struct floppy_dma {