diff options
Diffstat (limited to 'drivers/amba/bus.c')
-rw-r--r-- | drivers/amba/bus.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index a2fc56d2e681..cdbad3a454a0 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c | |||
@@ -45,7 +45,6 @@ static int amba_match(struct device *dev, struct device_driver *drv) | |||
45 | return amba_lookup(pcdrv->id_table, pcdev) != NULL; | 45 | return amba_lookup(pcdrv->id_table, pcdev) != NULL; |
46 | } | 46 | } |
47 | 47 | ||
48 | #ifdef CONFIG_HOTPLUG | ||
49 | static int amba_uevent(struct device *dev, struct kobj_uevent_env *env) | 48 | static int amba_uevent(struct device *dev, struct kobj_uevent_env *env) |
50 | { | 49 | { |
51 | struct amba_device *pcdev = to_amba_device(dev); | 50 | struct amba_device *pcdev = to_amba_device(dev); |
@@ -58,9 +57,6 @@ static int amba_uevent(struct device *dev, struct kobj_uevent_env *env) | |||
58 | retval = add_uevent_var(env, "MODALIAS=amba:d%08X", pcdev->periphid); | 57 | retval = add_uevent_var(env, "MODALIAS=amba:d%08X", pcdev->periphid); |
59 | return retval; | 58 | return retval; |
60 | } | 59 | } |
61 | #else | ||
62 | #define amba_uevent NULL | ||
63 | #endif | ||
64 | 60 | ||
65 | #define amba_attr_func(name,fmt,arg...) \ | 61 | #define amba_attr_func(name,fmt,arg...) \ |
66 | static ssize_t name##_show(struct device *_dev, \ | 62 | static ssize_t name##_show(struct device *_dev, \ |