On Sun May 4, 2025 at 10:06 PM -03, Derek J. Clark wrote: > Adds lenovo-wmi-other driver which provides the Lenovo "Other Mode" WMI > interface that comes on some Lenovo "Gaming Series" hardware. Provides a > firmware-attributes class which enables the use of tunable knobs for SPL, > SPPT, and FPPT. > > Reviewed-by: Alok Tiwari <alok.a.tiwari@xxxxxxxxxx> > Reviewed-by: Armin Wolf <W_Armin@xxxxxx> > Signed-off-by: Derek J. Clark <derekjohn.clark@xxxxxxxxx> > --- ... > +struct tunable_attr_01 ppt_pl1_spl = { .device_id = LWMI_DEVICE_ID_CPU, > + .feature_id = LWMI_FEATURE_ID_CPU_SPL, > + .type_id = LWMI_TYPE_ID_NONE }; > +struct tunable_attr_01 ppt_pl2_sppt = { .device_id = LWMI_DEVICE_ID_CPU, > + .feature_id = LWMI_FEATURE_ID_CPU_SPPT, > + .type_id = LWMI_TYPE_ID_NONE }; > +struct tunable_attr_01 ppt_pl3_fppt = { .device_id = LWMI_DEVICE_ID_CPU, > + .feature_id = LWMI_FEATURE_ID_CPU_FPPT, > + .type_id = LWMI_TYPE_ID_NONE }; Sparse warns about these symbols not being static. -- ~ Kurt
Attachment:
signature.asc
Description: PGP signature