Revision a3a316cfc41ab3e7b9e0079338f8ea9dff911d88 authored by Arnd Bergmann on 18 December 2015, 14:52:28 UTC, committed by Guenter Roeck on 18 December 2015, 16:19:52 UTC
If CONFIG_BITREVERSE is not built-in, the sht15 driver fails to link:

drivers/built-in.o: In function `sht15_crc8':
drivers/hwmon/sht15.c:195: undefined reference to `byte_rev_table'

This adds a Kconfig 'select' statement, like all other users of
bitrev.h have it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 33836ee98533 ("hwmon:change sht15_reverse()")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 00917b5
History
File Mode Size
Kconfig -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 272 bytes
ftrace.c -rw-r--r-- 3.4 KB
inode.c -rw-r--r-- 11.0 KB
internal.h -rw-r--r-- 1.5 KB
platform.c -rw-r--r-- 13.5 KB
pmsg.c -rw-r--r-- 2.7 KB
ram.c -rw-r--r-- 17.2 KB
ram_core.c -rw-r--r-- 13.0 KB

back to top