projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c862aab
)
ARM: amba: make amba_driver id_table const
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 19 Feb 2011 15:55:48 +0000
(15:55 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 23 Feb 2011 16:24:22 +0000
(16:24 +0000)
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>
include/linux/amba/bus.h
patch
|
blob
|
history
diff --git
a/include/linux/amba/bus.h
b/include/linux/amba/bus.h
index
07b6374
..
227d590
100644
(file)
--- 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 {