diff options
author | Olof Johansson <olof@lixom.net> | 2013-01-14 13:20:02 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-01-14 13:20:02 -0500 |
commit | 8d84981e395850aab31c3f2ca7e2738e03f671d7 (patch) | |
tree | 933425fddb23d28be802277471df3fe3f6c2711d /drivers/amba/bus.c | |
parent | 00c82d64405631967dca3890a9ce80ab35d04cc7 (diff) | |
parent | 77cc982f6a3b33a5aa058ad3b20cda8866db2948 (diff) |
Merge branch 'clocksource/cleanup' into next/cleanup
Clockevent cleanup series from Shawn Guo.
Resolved move/change conflict in mach-pxa/time.c due to the sys_timer
cleanup.
* clocksource/cleanup:
clocksource: use clockevents_config_and_register() where possible
ARM: use clockevents_config_and_register() where possible
clockevents: export clockevents_config_and_register for module use
+ sync to Linux 3.8-rc3
Signed-off-by: Olof Johansson <olof@lixom.net>
Conflicts:
arch/arm/mach-pxa/time.c
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, \ |