aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/rtc/rtc-ds1685.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c
index 7a7c8de7c92c..70202098a8ce 100644
--- a/drivers/rtc/rtc-ds1685.c
+++ b/drivers/rtc/rtc-ds1685.c
@@ -799,7 +799,7 @@ ds1685_rtc_proc(struct device *dev, struct seq_file *seq)
799 struct platform_device *pdev = to_platform_device(dev); 799 struct platform_device *pdev = to_platform_device(dev);
800 struct ds1685_priv *rtc = platform_get_drvdata(pdev); 800 struct ds1685_priv *rtc = platform_get_drvdata(pdev);
801 u8 ctrla, ctrlb, ctrlc, ctrld, ctrl4a, ctrl4b, ssn[8]; 801 u8 ctrla, ctrlb, ctrlc, ctrld, ctrl4a, ctrl4b, ssn[8];
802 char *model = '\0'; 802 char *model;
803#ifdef CONFIG_RTC_DS1685_PROC_REGS 803#ifdef CONFIG_RTC_DS1685_PROC_REGS
804 char bits[NUM_REGS][(NUM_BITS * NUM_SPACES) + NUM_BITS + 1]; 804 char bits[NUM_REGS][(NUM_BITS * NUM_SPACES) + NUM_BITS + 1];
805#endif 805#endif
@@ -2174,7 +2174,7 @@ module_exit(ds1685_rtc_exit);
2174 * ds1685_rtc_poweroff - uses the RTC chip to power the system off. 2174 * ds1685_rtc_poweroff - uses the RTC chip to power the system off.
2175 * @pdev: pointer to platform_device structure. 2175 * @pdev: pointer to platform_device structure.
2176 */ 2176 */
2177extern void __noreturn 2177void __noreturn
2178ds1685_rtc_poweroff(struct platform_device *pdev) 2178ds1685_rtc_poweroff(struct platform_device *pdev)
2179{ 2179{
2180 u8 ctrla, ctrl4a, ctrl4b; 2180 u8 ctrla, ctrl4a, ctrl4b;