]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sparc64: Apply const or __initdata to vio_device_id[]
authorDavid S. Miller <davem@davemloft.net>
Mon, 1 Sep 2008 08:48:52 +0000 (01:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Sep 2008 08:48:52 +0000 (01:48 -0700)
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>
arch/sparc64/kernel/ds.c
drivers/block/sunvdc.c
drivers/net/sunvnet.c

index d0fa5aa389341cf3020b40180f86c696b22600fd..f52e0534d91d060c58445e483928c66099517cc7 100644 (file)
@@ -1,6 +1,6 @@
 /* ds.c: Domain Services driver for Logical Domains
  *
- * Copyright (C) 2007 David S. Miller <davem@davemloft.net>
+ * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net>
  */
 
 #include <linux/kernel.h>
@@ -1217,7 +1217,7 @@ static int ds_remove(struct vio_dev *vdev)
        return 0;
 }
 
-static struct vio_device_id ds_match[] = {
+static struct vio_device_id __initdata ds_match[] = {
        {
                .type = "domain-services-port",
        },
index a8de037ecd4ac7b5ab3e56f48f6f15400b196463..953c0b83d758dac91a17b409d48d5636a7b62579 100644 (file)
@@ -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",
        },
index 6415ce15c2efef51721b0a50b181ee296f98ad28..a720065553df48645f121c86b11bcf8bf5c61e52 100644 (file)
@@ -1,6 +1,6 @@
 /* sunvnet.c: Sun LDOM Virtual Network Driver.
  *
- * Copyright (C) 2007 David S. Miller <davem@davemloft.net>
+ * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net>
  */
 
 #include <linux/module.h>
@@ -1260,7 +1260,7 @@ static int vnet_port_remove(struct vio_dev *vdev)
        return 0;
 }
 
-static struct vio_device_id vnet_port_match[] = {
+static const struct vio_device_id vnet_port_match[] = {
        {
                .type = "vnet-port",
        },