aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <william.gray@linaro.org>2023-03-18 14:55:03 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-03-19 15:36:56 +0000
commitaec463feaca9f726a778499ed57b63ffd9c4c523 (patch)
tree646c4b924924cda944ca4f4c0265ad3a5cd6b9dc
parent87a1ff66a0e57d9022665d24793f31fc54de182d (diff)
downloadiio-aec463feaca9f726a778499ed57b63ffd9c4c523.tar.gz
iio: addac: stx104: Replace bitops.h header inclusion with bits.h
The <linux/bitops.h> header is included in the stx104 driver so that we can use the BIT() macro. This macro is actually defined in the <linux/bits.h> header, so replace the <linux/bitops.h> header inclusion with <linux/bits.h>. Signed-off-by: William Breathitt Gray <william.gray@linaro.org> Link: https://lore.kernel.org/r/20230318185503.341914-1-william.gray@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/addac/stx104.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/addac/stx104.c b/drivers/iio/addac/stx104.c
index 48a91a95e597b3..e45b70aa5bb7a2 100644
--- a/drivers/iio/addac/stx104.c
+++ b/drivers/iio/addac/stx104.c
@@ -3,7 +3,7 @@
* IIO driver for the Apex Embedded Systems STX104
* Copyright (C) 2016 William Breathitt Gray
*/
-#include <linux/bitops.h>
+#include <linux/bits.h>
#include <linux/device.h>
#include <linux/errno.h>
#include <linux/gpio/driver.h>