Skip to content

Commit

Permalink
ARM: amba: make amba_driver id_table const
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russell King committed Feb 23, 2011
1 parent c862aab commit 2d00880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/amba/bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct amba_driver {
void (*shutdown)(struct amba_device *);
int (*suspend)(struct amba_device *, pm_message_t);
int (*resume)(struct amba_device *);
struct amba_id *id_table;
const struct amba_id *id_table;
};

enum amba_vendor {
Expand Down

0 comments on commit 2d00880

Please sign in to comment.