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
00-INDEX -rw-r--r-- 1.0 KB
blkio-controller.txt -rw-r--r-- 18.7 KB
cgroups.txt -rw-r--r-- 26.4 KB
cpuacct.txt -rw-r--r-- 1.9 KB
cpusets.txt -rw-r--r-- 36.4 KB
devices.txt -rw-r--r-- 4.3 KB
freezer-subsystem.txt -rw-r--r-- 4.8 KB
hugetlb.txt -rw-r--r-- 1.7 KB
memcg_test.txt -rw-r--r-- 8.3 KB
memory.txt -rw-r--r-- 36.0 KB
net_cls.txt -rw-r--r-- 1.2 KB
net_prio.txt -rw-r--r-- 2.5 KB
pids.txt -rw-r--r-- 3.0 KB
unified-hierarchy.txt -rw-r--r-- 27.3 KB

back to top