aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-02-19 15:55:48 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-19 15:55:48 +0000
commitd8d3f25e6a3b7abb37d569b0e36adc069b190a3a (patch)
tree0f52cecdd9f5b8b20f551501ea8e9c391e9d9779
parentb3e289ae4bd5b47cb1cc4920a192496f7ff371a5 (diff)
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>
-rw-r--r--include/linux/amba/bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h
index 07b6374652d..227d590cd8d 100644
--- a/include/linux/amba/bus.h
+++ b/include/linux/amba/bus.h
@@ -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 {