Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d452e55 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Apply const or __initdata to vio_device_id[]



This mirrors the of_device_id[] changes done in
fd098316 ("sparc: Annotate
of_device_id arrays with const or __initdata.")

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ba4962d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* 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",
	},
+2 −2
Original line number Diff line number Diff line
/* 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",
	},
+2 −2
Original line number Diff line number Diff line
/* 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",
	},