mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-01-01 01:03:58 +00:00
[SPARC]: remove ifdef CONFIG_PCI from envctrl.c
The driver already depends on CONFIG_PCI in Kconfig. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bc2406684b
commit
4875ccdb30
@ -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 @@ out_iounmap:
|
|||||||
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user