login
Header Space

 
 

[PATCH] Re: build issue #470 for v2.6.25-rc8-166-g6fdf5e6 :rtc-s35390a.c:144: undefined reference to `byte_rev_table'

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Toralf <toralf.foerster@...>
Cc: <linux-kernel@...>, <a.zummo@...>, akpm <akpm@...>
Date: Wednesday, April 9, 2008 - 11:48 am

From: Randy Dunlap <randy.dunlap@oracle.com>

rtc-s35390a uses BITREVERSE functions so it needs to select that
config symbol to ensure that the functions are built.

drivers/built-in.o: In function `s35390a_set_datetime':
linux-2.6.25-rc8-git7/drivers/rtc/rtc-s35390a.c:144: undefined reference to `byte_rev_table'
drivers/built-in.o: In function `s35390a_get_datetime':
linux-2.6.25-rc8-git7/drivers/rtc/rtc-s35390a.c:163: undefined reference to `byte_rev_table'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/rtc/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.25-rc8-git7.orig/drivers/rtc/Kconfig
+++ linux-2.6.25-rc8-git7/drivers/rtc/Kconfig
@@ -252,6 +252,7 @@ config RTC_DRV_TWL92330
 
 config RTC_DRV_S35390A
 	tristate "Seiko Instruments S-35390A"
+	select BITREVERSE
 	help
 	  If you say yes here you will get support for the Seiko
 	  Instruments S-35390A.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Re: build issue #470 for v2.6.25-rc8-166-g6fdf5e6 :r..., Randy Dunlap, (Wed Apr 9, 11:48 am)
speck-geostationary