OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b73210a
)
platform-drivers-x86: intel_scu_ipc: convert to DEFINE_PCI_DEVICE_TABLE
author
Axel Lin
<axel.lin@gmail.com>
Thu, 7 Jul 2011 02:22:46 +0000
(10:22 +0800)
committer
Matthew Garrett
<mjg@redhat.com>
Fri, 5 Aug 2011 18:46:15 +0000
(14:46 -0400)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_scu_ipc.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/intel_scu_ipc.c
b/drivers/platform/x86/intel_scu_ipc.c
index
940accb
..
c866653
100644
(file)
--- a/
drivers/platform/x86/intel_scu_ipc.c
+++ b/
drivers/platform/x86/intel_scu_ipc.c
@@
-725,7
+725,7
@@
static void ipc_remove(struct pci_dev *pdev)
intel_scu_devices_destroy();
}
-static
const struct pci_device_id pci_ids[]
= {
+static
DEFINE_PCI_DEVICE_TABLE(pci_ids)
= {
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x080e)},
{PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x082a)},
{ 0,}