rtc: rtc-s35390a.c needs the bitreverse library
authorRandy Dunlap <[email protected]>
Fri, 11 Apr 2008 04:29:18 +0000 (21:29 -0700)
committerLinus Torvalds <[email protected]>
Fri, 11 Apr 2008 15:06:43 +0000 (08:06 -0700)
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 <[email protected]>
Acked-by: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/Kconfig

index 9e7de63b26ef6c3c5c558c935bfaae28e3df1f3f..02a4c8cf2b2d8c5d240e2349d190b0ef620ad9f7 100644 (file)
@@ -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.