Skip to content

Commit d3d25f4

Browse files
raagjadavgregkh
authored andcommitted
mod_devicetable: Bump auxiliary_device_id name size
We have an upcoming driver named "intel_ehl_pse_io". This creates an auxiliary child device for it's GPIO sub-functionality, which matches against "intel_ehl_pse_io.gpio-elkhartlake" and overshoots the current maximum limit of 32 bytes for auxiliary device id string. Bump the size to 40 bytes to satisfy such cases. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Raag Jadav <raag.jadav@intel.com> Link: https://patch.msgid.link/20251106052838.433673-1-raag.jadav@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 7146494 commit d3d25f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/mod_devicetable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ struct mhi_device_id {
867867
kernel_ulong_t driver_data;
868868
};
869869

870-
#define AUXILIARY_NAME_SIZE 32
870+
#define AUXILIARY_NAME_SIZE 40
871871
#define AUXILIARY_MODULE_PREFIX "auxiliary:"
872872

873873
struct auxiliary_device_id {

0 commit comments

Comments
 (0)