OSDN Git Service

iio: addac: stx104: Replace bitops.h header inclusion with bits.h
authorWilliam Breathitt Gray <william.gray@linaro.org>
Sat, 18 Mar 2023 18:55:03 +0000 (14:55 -0400)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Mar 2023 15:36:56 +0000 (15:36 +0000)
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>
drivers/iio/addac/stx104.c

index 48a91a9..e45b70a 100644 (file)
@@ -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>