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

Commit 4875ccdb authored by Christoph Hellwig's avatar Christoph Hellwig Committed by David S. Miller
Browse files

[SPARC]: remove ifdef CONFIG_PCI from envctrl.c



The driver already depends on CONFIG_PCI in Kconfig.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bc240668
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -1039,7 +1039,6 @@ static int kenvctrld(void *__unused)


static int __init envctrl_init(void)
static int __init envctrl_init(void)
{
{
#ifdef CONFIG_PCI
	struct linux_ebus *ebus = NULL;
	struct linux_ebus *ebus = NULL;
	struct linux_ebus_device *edev = NULL;
	struct linux_ebus_device *edev = NULL;
	struct linux_ebus_child *edev_child = NULL;
	struct linux_ebus_child *edev_child = NULL;
@@ -1133,9 +1132,6 @@ static int __init envctrl_init(void)
			kfree(i2c_childlist[i].tables);
			kfree(i2c_childlist[i].tables);
	}
	}
	return err;
	return err;
#else
	return -ENODEV;
#endif
}
}


static void __exit envctrl_cleanup(void)
static void __exit envctrl_cleanup(void)