On Fri, Jun 18, 2021 at 8:29 AM Jianqun Xu <jay.xu@xxxxxxxxxxxxxx> wrote: > With the patch to separate the gpio driver from the pinctrl driver, now > the pinctrl-rockchip can drop the gpio related codes now. > > Signed-off-by: Jianqun Xu <jay.xu@xxxxxxxxxxxxxx> (...) > #include <linux/bitops.h> > -#include <linux/gpio/driver.h> > -#include <linux/of_device.h> > +#include <linux/gpio.h> This is wrong. Do not introduce new users of <linux/gpio.h>. I don't want to delay the merge of the patch set because it has taken long enough as it is but please submit a patch removing include <linux/gpio.h>. You either need <linux/gpio/driver.h> or <linux/gpio/consumer.h> or both, or <linux/gpio.h> is just exploited to get other includes then figure out which ones. Yours, Linus Walleij