]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/ata/pata_macio.c
ata: constify of_device_id structures
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 1 Mar 2017 19:33:28 +0000 (01:03 +0530)
committerTejun Heo <tj@kernel.org>
Mon, 6 Mar 2017 20:18:01 +0000 (15:18 -0500)
commite3779f6a4e7359bc0f83c3e2d34702a6c495e66e
treede07e003064165029e6ccc14c53072cdedcada69
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
ata: constify of_device_id structures

Declare of_device_id structures as const as they are either passed to
the macro MODULE_DEVICE_TABLE or stored in the of_match_table field of a
device_driver structure. This field is of type const, so of_device_id
structures having this property can be made const too.

Cross compiled the files drivers/ata/pata_macio.c and
drivers/ata/pata_mpc52xx.c for powerpc architecture.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_macio.c
drivers/ata/pata_mpc52xx.c
drivers/ata/pata_of_platform.c
drivers/ata/sata_fsl.c
drivers/ata/sata_mv.c