[PATCH 14/19] pinctrl: sunxi: add support for the Allwinner V861 PIO
Uwe Kleine-König
u.kleine-koenig at baylibre.com
Sun Nov 15 07:41:01 PST 2026
Hello,
On Sat, Nov 14, 2026 at 06:33:40AM +0800, Han Gao via B4 Relay wrote:
> new file mode 100644
> index 000000000000..742465076d86
> --- /dev/null
> +++ b/drivers/pinctrl/sunxi/pinctrl-sun252i-v861.c
> @@ -0,0 +1,49 @@
> +// SPDX-License-Identifier: GPL-2.0-only
> +/*
> + * Allwinner V861 SoC pinctrl driver.
> + *
> + * Copyright (c) 2026 Han Gao <gaohan at iscas.ac.cn>
> + */
> +
> +#include <linux/mod_devicetable.h>
Don't include <linux/mod_devicetable.h>. <linux/platform_device.h>
already provides of_device_id with less dependencies, so please just
drop including <linux/mod_devicetable.h>.
> +#include <linux/platform_device.h>
> +#include <linux/pinctrl/pinctrl.h>
> +
> [...]
> +static const struct of_device_id v861_pinctrl_match[] = {
> + { .compatible = "allwinner,sun252i-v861-pinctrl", },
> + {}
> +};
Please drop the comma before the closing } and add a space in the list
terminator.
Best regards
Uwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20261115/de1dacc8/attachment.sig>
More information about the linux-riscv
mailing list