Re: [PATCH 14/19] pinctrl: sunxi: add support for the Allwinner V861 PIO
From: Uwe Kleine-König
Date: Sun Nov 15 2026 - 10:41:10 EST
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@xxxxxxxxxxx>
> + */
> +
> +#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
Attachment:
signature.asc
Description: PGP signature