aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-cmos.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
-rw-r--r--drivers/rtc/rtc-cmos.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
index 4267789ca995..16630aa87f45 100644
--- a/drivers/rtc/rtc-cmos.c
+++ b/drivers/rtc/rtc-cmos.c
@@ -947,8 +947,7 @@ static void rtc_wake_off(struct device *dev)
947 */ 947 */
948static struct cmos_rtc_board_info acpi_rtc_info; 948static struct cmos_rtc_board_info acpi_rtc_info;
949 949
950static void __devinit 950static void cmos_wake_setup(struct device *dev)
951cmos_wake_setup(struct device *dev)
952{ 951{
953 if (acpi_disabled) 952 if (acpi_disabled)
954 return; 953 return;
@@ -980,8 +979,7 @@ cmos_wake_setup(struct device *dev)
980 979
981#else 980#else
982 981
983static void __devinit 982static void cmos_wake_setup(struct device *dev)
984cmos_wake_setup(struct device *dev)
985{ 983{
986} 984}
987 985
@@ -991,8 +989,7 @@ cmos_wake_setup(struct device *dev)
991 989
992#include <linux/pnp.h> 990#include <linux/pnp.h>
993 991
994static int __devinit 992static int cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id)
995cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id)
996{ 993{
997 cmos_wake_setup(&pnp->dev); 994 cmos_wake_setup(&pnp->dev);
998 995