aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/ibmasm/module.c')
-rw-r--r--drivers/misc/ibmasm/module.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/misc/ibmasm/module.c b/drivers/misc/ibmasm/module.c
index 2f3bddfab937..fb03a853fac4 100644
--- a/drivers/misc/ibmasm/module.c
+++ b/drivers/misc/ibmasm/module.c
@@ -18,9 +18,9 @@
18 * 18 *
19 * Copyright (C) IBM Corporation, 2004 19 * Copyright (C) IBM Corporation, 2004
20 * 20 *
21 * Author: Max Asböck <amax@us.ibm.com> 21 * Author: Max Asböck <amax@us.ibm.com>
22 * 22 *
23 * This driver is based on code originally written by Pete Reynolds 23 * This driver is based on code originally written by Pete Reynolds
24 * and others. 24 * and others.
25 * 25 *
26 */ 26 */
@@ -30,13 +30,13 @@
30 * 30 *
31 * 1) When loaded it sends a message to the service processor, 31 * 1) When loaded it sends a message to the service processor,
32 * indicating that an OS is * running. This causes the service processor 32 * indicating that an OS is * running. This causes the service processor
33 * to send periodic heartbeats to the OS. 33 * to send periodic heartbeats to the OS.
34 * 34 *
35 * 2) Answers the periodic heartbeats sent by the service processor. 35 * 2) Answers the periodic heartbeats sent by the service processor.
36 * Failure to do so would result in system reboot. 36 * Failure to do so would result in system reboot.
37 * 37 *
38 * 3) Acts as a pass through for dot commands sent from user applications. 38 * 3) Acts as a pass through for dot commands sent from user applications.
39 * The interface for this is the ibmasmfs file system. 39 * The interface for this is the ibmasmfs file system.
40 * 40 *
41 * 4) Allows user applications to register for event notification. Events 41 * 4) Allows user applications to register for event notification. Events
42 * are sent to the driver through interrupts. They can be read from user 42 * are sent to the driver through interrupts. They can be read from user
@@ -105,7 +105,7 @@ static int __devinit ibmasm_init_one(struct pci_dev *pdev, const struct pci_devi
105 } 105 }
106 106
107 sp->irq = pdev->irq; 107 sp->irq = pdev->irq;
108 sp->base_address = ioremap(pci_resource_start(pdev, 0), 108 sp->base_address = ioremap(pci_resource_start(pdev, 0),
109 pci_resource_len(pdev, 0)); 109 pci_resource_len(pdev, 0));
110 if (sp->base_address == 0) { 110 if (sp->base_address == 0) {
111 dev_err(sp->dev, "Failed to ioremap pci memory\n"); 111 dev_err(sp->dev, "Failed to ioremap pci memory\n");