aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pnp/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pnp/system.c')
-rw-r--r--drivers/pnp/system.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/drivers/pnp/system.c b/drivers/pnp/system.c
index 8d71008accba..a06f980b3ac9 100644
--- a/drivers/pnp/system.c
+++ b/drivers/pnp/system.c
@@ -45,8 +45,7 @@ static void reserve_range(const char *pnpid, resource_size_t start,
45 * example do reserve stuff they know about too, so we may well 45 * example do reserve stuff they know about too, so we may well
46 * have double reservations. 46 * have double reservations.
47 */ 47 */
48 printk(KERN_INFO 48 printk(KERN_INFO "pnp: %s: %s range 0x%llx-0x%llx %s reserved\n",
49 "pnp: %s: %s range 0x%llx-0x%llx %s reserved\n",
50 pnpid, port ? "ioport" : "iomem", 49 pnpid, port ? "ioport" : "iomem",
51 (unsigned long long)start, (unsigned long long)end, 50 (unsigned long long)start, (unsigned long long)end,
52 NULL != res ? "has been" : "could not be"); 51 NULL != res ? "has been" : "could not be");
@@ -85,8 +84,6 @@ static void reserve_resources_of_dev(const struct pnp_dev *dev)
85 reserve_range(dev->dev.bus_id, pnp_mem_start(dev, i), 84 reserve_range(dev->dev.bus_id, pnp_mem_start(dev, i),
86 pnp_mem_end(dev, i), 0); 85 pnp_mem_end(dev, i), 0);
87 } 86 }
88
89 return;
90} 87}
91 88
92static int system_pnp_probe(struct pnp_dev *dev, 89static int system_pnp_probe(struct pnp_dev *dev,
@@ -97,11 +94,10 @@ static int system_pnp_probe(struct pnp_dev *dev,
97} 94}
98 95
99static struct pnp_driver system_pnp_driver = { 96static struct pnp_driver system_pnp_driver = {
100 .name = "system", 97 .name = "system",
101 .id_table = pnp_dev_table, 98 .id_table = pnp_dev_table,
102 .flags = PNP_DRIVER_RES_DO_NOT_CHANGE, 99 .flags = PNP_DRIVER_RES_DO_NOT_CHANGE,
103 .probe = system_pnp_probe, 100 .probe = system_pnp_probe,
104 .remove = NULL,
105}; 101};
106 102
107static int __init pnp_system_init(void) 103static int __init pnp_system_init(void)