Skip to content

Commit 3b661ca

Browse files
Wolfram Sangalexandrebelloni
authored andcommitted
i3c: add missing include to internal header
LKP found a random config which failed to build because IO accessors were not defined: In file included from drivers/i3c/master.c:21: drivers/i3c/internals.h: In function 'i3c_writel_fifo': >> drivers/i3c/internals.h:35:9: error: implicit declaration of function 'writesl' [-Werror=implicit-function-declaration] Add the proper header to where the IO accessors are used. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Wolfram Sang <[email protected]> Reviewed-by: Frank Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 5fa62d4 commit 3b661ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/i3c/internals.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#define I3C_INTERNALS_H
1010

1111
#include <linux/i3c/master.h>
12+
#include <linux/io.h>
1213

1314
void i3c_bus_normaluse_lock(struct i3c_bus *bus);
1415
void i3c_bus_normaluse_unlock(struct i3c_bus *bus);

0 commit comments

Comments
 (0)