diff options
Diffstat (limited to 'drivers/rtc/rtc-cmos.c')
-rw-r--r-- | drivers/rtc/rtc-cmos.c | 9 |
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 | */ |
948 | static struct cmos_rtc_board_info acpi_rtc_info; | 948 | static struct cmos_rtc_board_info acpi_rtc_info; |
949 | 949 | ||
950 | static void __devinit | 950 | static void cmos_wake_setup(struct device *dev) |
951 | cmos_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 | ||
983 | static void __devinit | 982 | static void cmos_wake_setup(struct device *dev) |
984 | cmos_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 | ||
994 | static int __devinit | 992 | static int cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) |
995 | cmos_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 | ||