Skip to content
Commit a3a316cf authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Guenter Roeck
Browse files

hwmon: (sht15) Select CONFIG_BITREVERSE



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: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 33836ee9 ("hwmon:change sht15_reverse()")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 00917b5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment