linux-mips
[Top] [All Lists]

[patch 3/3] drivers/rtc/rtc-m48t35.c is borked too

To: ralf@linux-mips.org
Subject: [patch 3/3] drivers/rtc/rtc-m48t35.c is borked too
From: akpm@linux-foundation.org
Date: Wed, 29 Oct 2008 14:21:34 -0700
Cc: linux-mips@linux-mips.org, akpm@linux-foundation.org, alessandro.zummo@towertech.it, tsbogend@alpha.franken.de
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
From: Andrew Morton <akpm@linux-foundation.org>

drivers/rtc/rtc-m48t35.c: In function 'm48t35_read_time':
drivers/rtc/rtc-m48t35.c:59: error: implicit declaration of function 'readb'
drivers/rtc/rtc-m48t35.c:60: error: implicit declaration of function 'writeb'
drivers/rtc/rtc-m48t35.c: In function 'm48t35_probe':
drivers/rtc/rtc-m48t35.c:168: error: implicit declaration of function 'ioremap'
drivers/rtc/rtc-m48t35.c:168: warning: assignment makes pointer from integer 
without a cast
drivers/rtc/rtc-m48t35.c:188: error: implicit declaration of function 'iounmap'

Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Alessandro Zummo <alessandro.zummo@towertech.it>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/rtc/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/rtc/Kconfig~drivers-rtc-rtc-m48t35c-is-borked-too 
drivers/rtc/Kconfig
--- a/drivers/rtc/Kconfig~drivers-rtc-rtc-m48t35c-is-borked-too
+++ a/drivers/rtc/Kconfig
@@ -432,6 +432,7 @@ config RTC_DRV_M48T86
 
 config RTC_DRV_M48T35
        tristate "ST M48T35"
+       depends on MIPS
        help
          If you say Y here you will get support for the
          ST M48T35 RTC chip.
_

<Prev in Thread] Current Thread [Next in Thread>