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
.gitignore -rw-r--r-- 20 bytes
00-INDEX -rw-r--r-- 1.3 KB
active_mm.txt -rw-r--r-- 3.7 KB
balance -rw-r--r-- 5.2 KB
cleancache.txt -rw-r--r-- 13.8 KB
frontswap.txt -rw-r--r-- 15.0 KB
highmem.txt -rw-r--r-- 5.7 KB
hugetlbpage.txt -rw-r--r-- 16.8 KB
hwpoison.txt -rw-r--r-- 5.8 KB
idle_page_tracking.txt -rw-r--r-- 4.8 KB
ksm.txt -rw-r--r-- 5.4 KB
numa -rw-r--r-- 8.7 KB
numa_memory_policy.txt -rw-r--r-- 22.6 KB
overcommit-accounting -rw-r--r-- 2.5 KB
page_migration -rw-r--r-- 6.4 KB
page_owner.txt -rw-r--r-- 3.6 KB
pagemap.txt -rw-r--r-- 6.8 KB
remap_file_pages.txt -rw-r--r-- 1.5 KB
slub.txt -rw-r--r-- 12.9 KB
soft-dirty.txt -rw-r--r-- 1.7 KB
split_page_table_lock -rw-r--r-- 3.5 KB
transhuge.txt -rw-r--r-- 18.0 KB
unevictable-lru.txt -rw-r--r-- 28.7 KB
userfaultfd.txt -rw-r--r-- 6.9 KB
zsmalloc.txt -rw-r--r-- 3.0 KB
zswap.txt -rw-r--r-- 5.2 KB

back to top