Skip to content

Commit 2d00880

Browse files
author
Russell King
committed
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: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent c862aab commit 2d00880

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/amba/bus.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ struct amba_driver {
4848
void (*shutdown)(struct amba_device *);
4949
int (*suspend)(struct amba_device *, pm_message_t);
5050
int (*resume)(struct amba_device *);
51-
struct amba_id *id_table;
51+
const struct amba_id *id_table;
5252
};
5353

5454
enum amba_vendor {

0 commit comments

Comments
 (0)