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-- 1013 bytes
Makefile -rw-r--r-- 98 bytes
dir.c -rw-r--r-- 4.0 KB
file.c -rw-r--r-- 11.8 KB
group.c -rw-r--r-- 10.8 KB
mount.c -rw-r--r-- 1.8 KB
symlink.c -rw-r--r-- 4.8 KB
sysfs.h -rw-r--r-- 916 bytes

back to top