Re: [PATCH v2] platform/x86/intel: Move Intel PMT drivers to new subfolder

From: David E. Box
Date: Tue Jul 27 2021 - 10:53:45 EST


On Mon, 2021-07-26 at 20:36 -0700, Joe Perches wrote:
> On Mon, 2021-07-26 at 19:25 -0700, David E. Box wrote:
> > Move all Intel Platform Monitoring Technology drivers to
> > drivers/platform/x86/intel/pmt.
> []
> > diff --git a/MAINTAINERS b/MAINTAINERS
> []
> > @@ -9494,7 +9494,7 @@ INTEL PMT DRIVER
> >  M:     "David E. Box" <david.e.box@xxxxxxxxxxxxxxx>
> >  S:     Maintained
> >  F:     drivers/mfd/intel_pmt.c
> > -F:     drivers/platform/x86/intel_pmt_*
> > +F:     drivers/platform/x86/intel/pmt/*
>
> Unless you are suggesting you are not maintainer of any files
> in any subdirectories below this directory, you should not use
> a *
>
> F:      drivers/platform/x86/intel/pmt/

Ack

>
> > diff --git a/drivers/platform/x86/intel/Makefile
> > b/drivers/platform/x86/intel/Makefile
> []
> > @@ -7,3 +7,4 @@
> >  obj-$(CONFIG_INTEL_CHT_INT33FE)                += int33fe/
> >  obj-$(CONFIG_INTEL_SKL_INT3472)                += int3472/
> >  obj-$(CONFIG_INTEL_PMC_CORE)           += pmc/
> > +obj-y                                  += pmt/
>
> This seems odd.  Perhaps:
>
> obj-$(CONFIG_PMT_CLASS)                         += pmt/

This would work.

Thanks