[PATCH v2 1/6] i2c: pasemi: Use correct bits.h include

From: Sven Peter via B4 Relay
Date: Tue Apr 15 2025 - 11:38:10 EST


From: Sven Peter <sven@xxxxxxxxxxxxx>

When changing the #defines to use BIT and GENMASK the bitfield.h include
was added instead of the correct bits.h include.

Reported-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
Closes: https://lore.kernel.org/asahi/Z965tVhC5jxy1kqZ@surfacebook.localdomain/
Fixes: 8b4da3ef9206 ("i2c: pasemi: Add registers bits and switch to BIT()")
Signed-off-by: Sven Peter <sven@xxxxxxxxxxxxx>
---
drivers/i2c/busses/i2c-pasemi-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/i2c/busses/i2c-pasemi-core.c b/drivers/i2c/busses/i2c-pasemi-core.c
index bd128ab2e2ebb64929f2f6a3525835a880c3114d..71cc8cfc7c5cbf3924269f6217712d42008c03ff 100644
--- a/drivers/i2c/busses/i2c-pasemi-core.c
+++ b/drivers/i2c/busses/i2c-pasemi-core.c
@@ -5,7 +5,7 @@
* SMBus host driver for PA Semi PWRficient
*/

-#include <linux/bitfield.h>
+#include <linux/bits.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/kernel.h>

--
2.34.1