summaryrefslogtreecommitdiffstats
path: root/drivers/block/sunvdc.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-01 10:48:52 +0200
committerDavid S. Miller <davem@davemloft.net>2008-09-01 10:48:52 +0200
commit3d452e55ef905fc6fbf813a66c16de1293e243a1 (patch)
treea4f67daa0653c162e8fe9d68128ba7bfa57c1ce4 /drivers/block/sunvdc.c
parentsparc64: Clean up CPU chip type probing code. (diff)
downloadlinux-3d452e55ef905fc6fbf813a66c16de1293e243a1.tar.xz
linux-3d452e55ef905fc6fbf813a66c16de1293e243a1.zip
sparc64: Apply const or __initdata to vio_device_id[]
This mirrors the of_device_id[] changes done in fd098316ef533e8441576f020ead4beab93154ce ("sparc: Annotate of_device_id arrays with const or __initdata.") Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/sunvdc.c')
-rw-r--r--drivers/block/sunvdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/sunvdc.c b/drivers/block/sunvdc.c
index a8de037ecd4a..953c0b83d758 100644
--- a/drivers/block/sunvdc.c
+++ b/drivers/block/sunvdc.c
@@ -1,6 +1,6 @@
/* sunvdc.c: Sun LDOM Virtual Disk Client.
*
- * Copyright (C) 2007 David S. Miller <davem@davemloft.net>
+ * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net>
*/
#include <linux/module.h>
@@ -834,7 +834,7 @@ static int vdc_port_remove(struct vio_dev *vdev)
return 0;
}
-static struct vio_device_id vdc_port_match[] = {
+static const struct vio_device_id vdc_port_match[] = {
{
.type = "vdc-port",
},