diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-12-04 17:53:32 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-12-04 18:03:56 -0500 |
commit | cf2f9c59807f173b1c6a537fde7c83c8da876e56 (patch) | |
tree | 2de933c0f35e842bd08ae90b30edc64acc9a8fa1 | |
parent | d2f5c276ea4b7b7e1b953926bac9d0b148fcce4e (diff) |
intel_mid_dma: fix section mismatch warnings
Rename intel_mid_dma_pci to intel_mid_dma_pci_driver to pick up the
applied annotations of that suffix.
Reported-by: <major_Lee@wistron.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
-rw-r--r-- | drivers/dma/intel_mid_dma.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dma/intel_mid_dma.c b/drivers/dma/intel_mid_dma.c index 4c55d451b613..3109bd94bc4f 100644 --- a/drivers/dma/intel_mid_dma.c +++ b/drivers/dma/intel_mid_dma.c | |||
@@ -1411,7 +1411,7 @@ static const struct dev_pm_ops intel_mid_dma_pm = { | |||
1411 | .runtime_idle = dma_runtime_idle, | 1411 | .runtime_idle = dma_runtime_idle, |
1412 | }; | 1412 | }; |
1413 | 1413 | ||
1414 | static struct pci_driver intel_mid_dma_pci = { | 1414 | static struct pci_driver intel_mid_dma_pci_driver = { |
1415 | .name = "Intel MID DMA", | 1415 | .name = "Intel MID DMA", |
1416 | .id_table = intel_mid_dma_ids, | 1416 | .id_table = intel_mid_dma_ids, |
1417 | .probe = intel_mid_dma_probe, | 1417 | .probe = intel_mid_dma_probe, |
@@ -1429,13 +1429,13 @@ static int __init intel_mid_dma_init(void) | |||
1429 | { | 1429 | { |
1430 | pr_debug("INFO_MDMA: LNW DMA Driver Version %s\n", | 1430 | pr_debug("INFO_MDMA: LNW DMA Driver Version %s\n", |
1431 | INTEL_MID_DMA_DRIVER_VERSION); | 1431 | INTEL_MID_DMA_DRIVER_VERSION); |
1432 | return pci_register_driver(&intel_mid_dma_pci); | 1432 | return pci_register_driver(&intel_mid_dma_pci_driver); |
1433 | } | 1433 | } |
1434 | fs_initcall(intel_mid_dma_init); | 1434 | fs_initcall(intel_mid_dma_init); |
1435 | 1435 | ||
1436 | static void __exit intel_mid_dma_exit(void) | 1436 | static void __exit intel_mid_dma_exit(void) |
1437 | { | 1437 | { |
1438 | pci_unregister_driver(&intel_mid_dma_pci); | 1438 | pci_unregister_driver(&intel_mid_dma_pci_driver); |
1439 | } | 1439 | } |
1440 | module_exit(intel_mid_dma_exit); | 1440 | module_exit(intel_mid_dma_exit); |
1441 | 1441 | ||