diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-08-03 20:50:01 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-08-04 13:18:55 +0300 |
commit | 67e8ee9b4b387f5c4d12ad9b926a78a9bf3dc275 (patch) | |
tree | e844e2bd47ceda3d9295f9e58c60669a5de3c95d /sound/soc/intel/atom | |
parent | 86d7ce3dd717e09a442d35dae3f9c62c03e024d8 (diff) | |
download | linux-67e8ee9b4b387f5c4d12ad9b926a78a9bf3dc275.tar.xz |
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/intel/atom')
-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 3a0b3bf0af97..6906ee624cf6 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, } }; |