1 /* 2 * NXP Wireless LAN device driver: PCIE and platform specific quirks 3 * 4 * This software file (the "File") is distributed by NXP 5 * under the terms of the GNU General Public License Version 2, June 1991 6 * (the "License"). You may use, redistribute and/or modify this File in 7 * accordance with the terms and conditions of the License, a copy of which 8 * is available by writing to the Free Software Foundation, Inc., 9 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 10 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 11 * 12 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 13 * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE 14 * ARE EXPRESSLY DISCLAIMED. The License provides additional details about 15 * this warranty disclaimer. 16 */ 17 18 #include <linux/dmi.h> 19 20 #include "pcie_quirks.h" 21 22 /* quirk table based on DMI matching */ 23 static const struct dmi_system_id mwifiex_quirk_table[] = { 24 {} 25 }; 26 27 void mwifiex_initialize_quirks(struct pcie_service_card *card) 28 { 29 struct pci_dev *pdev = card->dev; 30 const struct dmi_system_id *dmi_id; 31 32 dmi_id = dmi_first_match(mwifiex_quirk_table); 33 if (dmi_id) 34 card->quirks = (uintptr_t)dmi_id->driver_data; 35 36 if (!card->quirks) 37 dev_info(&pdev->dev, "no quirks enabled\n"); 38 } 39