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

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

sparc: Annotate of_device_id arrays with const or __initdata.



As suggested by Stephen Rothwell.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 933b2a1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ static int __devexit ecpp_remove(struct of_device *op)
	return 0;
}

static struct of_device_id ecpp_match[] = {
static const struct of_device_id ecpp_match[] = {
	{
		.name = "ecpp",
	},
+1 −1
Original line number Diff line number Diff line
@@ -182,7 +182,7 @@ static int __devinit apc_probe(struct of_device *op,
	return 0;
}

static struct of_device_id apc_match[] = {
static struct of_device_id __initdata apc_match[] = {
	{
		.name = APC_OBPNAME,
	},
+1 −1
Original line number Diff line number Diff line
@@ -72,7 +72,7 @@ static int __devinit pmc_probe(struct of_device *op,
	return 0;
}

static struct of_device_id pmc_match[] = {
static struct of_device_id __initdata pmc_match[] = {
	{
		.name = PMC_OBPNAME,
	},
+1 −1
Original line number Diff line number Diff line
@@ -338,7 +338,7 @@ static int __devinit clock_probe(struct of_device *op, const struct of_device_id
	return 0;
}

static struct of_device_id clock_match[] = {
static struct of_device_id __initdata clock_match[] = {
	{
		.name = "eeprom",
	},
+1 −1
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ void auxio_set_lte(int on)
	}
}

static struct of_device_id auxio_match[] = {
static struct of_device_id __initdata auxio_match[] = {
	{
		.name = "auxio",
	},
Loading