Re: [PATCH 25/35 linux-next] PCI: constify of_device_id array

From: Fabian Frederick
Date: Mon Mar 16 2015 - 16:30:44 EST




> On 16 March 2015 at 21:23 Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
> wrote:
>
>
> Hello.
>
> On 03/16/2015 10:54 PM, Fabian Frederick wrote:
>
> > of_device_id is always used as const.
> > (See driver.of_match_table and open firmware functions)
>
> > Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
> > ---
> > Âdrivers/gpio/gpio-mpc8xxx.c   | 2 +-
> > Âdrivers/gpio/gpio-octeon.c   Â| 2 +-
> > Âdrivers/gpio/gpio-tz1090-pdc.c Â| 2 +-
> > Âdrivers/gpio/gpio-tz1090.c   Â| 2 +-
> > Âdrivers/gpio/gpio-zynq.c    Â| 2 +-
>
>Â Â ÂWhat the GPIO driver changes are doing here, in the PCI patch?
Nice catch :) I'll split that patch and only send those to avoid too much noise.

Thanks,
Fabian

>
> >Â Âdrivers/pci/host/pci-rcar-gen2.c | 2 +-
> > Âdrivers/pci/host/pcie-xilinx.c Â| 2 +-
> >Â Â7 files changed, 7 insertions(+), 7 deletions(-)
>
> [...]
>
> WBR, Sergei
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/