]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: constify pci_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 3 Aug 2017 17:50:01 +0000 (23:20 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 4 Aug 2017 10:18:55 +0000 (11:18 +0100)
commit0349c216d6404514089d887303077be2c4e7ba10
treee844e2bd47ceda3d9295f9e58c60669a5de3c95d
parent4ef044013deae5c3645c246f4ad89c03bfcc4eb4
ASoC: Intel: constify pci_device_id.

pci_device_id are not supposed to change at runtime. All functions
working with pci_device_id provided by <linux/pci.h> work with
const pci_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst_pci.c