hwmon: (sht15) Select CONFIG_BITREVERSE
authorArnd Bergmann <arnd@arndb.de>
Fri, 18 Dec 2015 14:52:28 +0000 (15:52 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 18 Dec 2015 16:19:52 +0000 (08:19 -0800)
commita3a316cfc41ab3e7b9e0079338f8ea9dff911d88
treea063a677f99bfa89afa3b1fbe15882e320a46bd6
parent00917b5c55aeb01322d5ab51af8c025b82959224
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: Arnd Bergmann <arnd@arndb.de>
Fixes: 33836ee98533 ("hwmon:change sht15_reverse()")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/Kconfig