[PATCH 16/38] backports: add DMI_OEM_STRING for older kernels
Johannes Berg <[email protected]> Tue, 11 Oct 2022 23:04:24 +0200
| Newsgroups | org.kernel.vger.backports |
|---|---|
| Message-ID | <20221011230356.4447b8084079.I56742f3d6a096fd6c246fdf341af68b0962bdb90@changeid> |
From: Gregory Greenman <[email protected]> type=maint ticket=none Signed-off-by: Gregory Greenman <[email protected]> --- backport/backport-include/linux/mod_devicetable.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backport/backport-include/linux/mod_devicetable.h b/backport/backport-include/linux/mod_devicetable.h index fc9beedb2d8d..07d66a6ba6ae 100644 --- a/backport/backport-include/linux/mod_devicetable.h +++ b/backport/backport-include/linux/mod_devicetable.h @@ -29,4 +29,8 @@ struct mhi_device_id { }; #endif +#if LINUX_VERSION_IS_LESS(4,17,0) +#define DMI_OEM_STRING (DMI_STRING_MAX + 1) +#endif /* < 4.17.0 */ + #endif /* __BACKPORT_MOD_DEVICETABLE_H */ -- 2.37.3 -- To unsubscribe from this list: send the line "unsubscribe backports" in