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

Commit 2d00880f authored by Russell King's avatar Russell King
Browse files

ARM: amba: make amba_driver id_table const



Now that the bus level code deals with a const id table, we can also
make the ID table in the amba_driver structure also const.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent c862aab0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -48,7 +48,7 @@ struct amba_driver {
	void			(*shutdown)(struct amba_device *);
	void			(*shutdown)(struct amba_device *);
	int			(*suspend)(struct amba_device *, pm_message_t);
	int			(*suspend)(struct amba_device *, pm_message_t);
	int			(*resume)(struct amba_device *);
	int			(*resume)(struct amba_device *);
	struct amba_id		*id_table;
	const struct amba_id	*id_table;
};
};


enum amba_vendor {
enum amba_vendor {