From: Russell King Date: Sat, 19 Feb 2011 15:55:48 +0000 (+0000) Subject: ARM: amba: make amba_driver id_table const X-Git-Tag: v2.6.39-rc1~435^3^3~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d00880fa842e7dd34f5bb5eb3b5f8337b068be5;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/include/linux/amba/bus.h b/include/linux/amba/bus.h index 07b6374652dc9..227d590cd8d53 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 {