# \[PATCH 25/35 linux-next\] PCI: constify of\_device\_id array

- From: Sergei Shtylyov \<hidden\>
- Date: 2015-03-16 20:23:37 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2015/03/4452334
- Thread: https://ratatoskr.run/linux-gpio/2015/03/4452305/t.md

```text
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 <redacted>
> ---
>   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?

>   drivers/pci/host/pci-rcar-gen2.c | 2 +-
>   drivers/pci/host/pcie-xilinx.c   | 2 +-
>   7 files changed, 7 insertions(+), 7 deletions(-)

[...]

WBR, Sergei
```
