summaryrefslogtreecommitdiffstats
path: root/drivers/iio/addac
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <william.gray@linaro.org>2023-03-18 19:55:03 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-03-19 16:36:56 +0100
commitaec463feaca9f726a778499ed57b63ffd9c4c523 (patch)
tree646c4b924924cda944ca4f4c0265ad3a5cd6b9dc /drivers/iio/addac
parentiio: dac: cio-dac: Migrate to the regmap API (diff)
downloadlinux-aec463feaca9f726a778499ed57b63ffd9c4c523.tar.xz
linux-aec463feaca9f726a778499ed57b63ffd9c4c523.zip
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>
Diffstat (limited to 'drivers/iio/addac')
-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 48a91a95e597..e45b70aa5bb7 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>