Re: [PATCH v1 0/2] extcon: Rework initialization of i2c_device_id

From: Uwe Kleine-König (The Capable Hub)

Date: Wed Jun 10 2026 - 13:10:57 EST


On Mon, May 18, 2026 at 12:41:43PM +0200, Uwe Kleine-König (The Capable Hub) wrote:
> Hello,
>
> I plan to do the following to the definition of i2c_device_id:
>
> diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
> index 23ff24080dfd..aebd3a5e90af 100644
> --- a/include/linux/mod_devicetable.h
> +++ b/include/linux/mod_devicetable.h
> @@ -477,7 +477,11 @@ struct rpmsg_device_id {
>
> struct i2c_device_id {
> char name[I2C_NAME_SIZE];
> - kernel_ulong_t driver_data; /* Data private to the driver */
> + union {
> + /* Data private to the driver */
> + kernel_ulong_t driver_data;
> + const void *driver_data_ptr;
> + };
> };
>
> /* pci_epf */

I want to work on that, but I'd need this patch series to be in for it.
Do you still have this patch on your radar?

Best regards
Uwe

Attachment: signature.asc
Description: PGP signature