diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-03 23:20:01 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-04 11:18:55 +0100 |
commit | 67e8ee9b4b387f5c4d12ad9b926a78a9bf3dc275 (patch) | |
tree | e844e2bd47ceda3d9295f9e58c60669a5de3c95d /sound/soc | |
parent | 86d7ce3dd717e09a442d35dae3f9c62c03e024d8 (diff) | |
download | op-kernel-dev-67e8ee9b4b387f5c4d12ad9b926a78a9bf3dc275.zip op-kernel-dev-67e8ee9b4b387f5c4d12ad9b926a78a9bf3dc275.tar.gz |
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/intel/atom/sst/sst_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/intel/atom/sst/sst_pci.c b/sound/soc/intel/atom/sst/sst_pci.c index 3a0b3bf..6906ee6 100644 --- a/sound/soc/intel/atom/sst/sst_pci.c +++ b/sound/soc/intel/atom/sst/sst_pci.c @@ -181,7 +181,7 @@ static void intel_sst_remove(struct pci_dev *pci) } /* PCI Routines */ -static struct pci_device_id intel_sst_ids[] = { +static const struct pci_device_id intel_sst_ids[] = { { PCI_VDEVICE(INTEL, SST_MRFLD_PCI_ID), 0}, { 0, } }; |