leds-ss4200.c (97eb3f24352ec6632c2127b35d8087d2a809a9b9) | leds-ss4200.c (90ab5ee94171b3e28de6bb42ee30b527014e0be7) |
---|---|
1/* 2 * SS4200-E Hardware API 3 * Copyright (c) 2009, Intel Corporation. 4 * Copyright IBM Corporation, 2009 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 65 unchanged lines hidden (view full) --- 74MODULE_DEVICE_TABLE(pci, ich7_lpc_pci_id); 75 76static int __init ss4200_led_dmi_callback(const struct dmi_system_id *id) 77{ 78 pr_info("detected '%s'\n", id->ident); 79 return 1; 80} 81 | 1/* 2 * SS4200-E Hardware API 3 * Copyright (c) 2009, Intel Corporation. 4 * Copyright IBM Corporation, 2009 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 65 unchanged lines hidden (view full) --- 74MODULE_DEVICE_TABLE(pci, ich7_lpc_pci_id); 75 76static int __init ss4200_led_dmi_callback(const struct dmi_system_id *id) 77{ 78 pr_info("detected '%s'\n", id->ident); 79 return 1; 80} 81 |
82static unsigned int __initdata nodetect; | 82static bool __initdata nodetect; |
83module_param_named(nodetect, nodetect, bool, 0); 84MODULE_PARM_DESC(nodetect, "Skip DMI-based hardware detection"); 85 86/* 87 * struct nas_led_whitelist - List of known good models 88 * 89 * Contains the known good models this driver is compatible with. 90 * When adding a new model try to be as strict as possible. This --- 467 unchanged lines hidden --- | 83module_param_named(nodetect, nodetect, bool, 0); 84MODULE_PARM_DESC(nodetect, "Skip DMI-based hardware detection"); 85 86/* 87 * struct nas_led_whitelist - List of known good models 88 * 89 * Contains the known good models this driver is compatible with. 90 * When adding a new model try to be as strict as possible. This --- 467 unchanged lines hidden --- |