diff options
Diffstat (limited to 'drivers/char/sonypi.c')
-rw-r--r-- | drivers/char/sonypi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c index 79e36c878a4c..1ee8ce7d2762 100644 --- a/drivers/char/sonypi.c +++ b/drivers/char/sonypi.c | |||
@@ -1241,7 +1241,7 @@ static int __devinit sonypi_setup_ioports(struct sonypi_device *dev, | |||
1241 | while (check_ioport && check->port1) { | 1241 | while (check_ioport && check->port1) { |
1242 | if (!request_region(check->port1, | 1242 | if (!request_region(check->port1, |
1243 | sonypi_device.region_size, | 1243 | sonypi_device.region_size, |
1244 | "Sony Programable I/O Device Check")) { | 1244 | "Sony Programmable I/O Device Check")) { |
1245 | printk(KERN_ERR "sonypi: ioport 0x%.4x busy, using sony-laptop? " | 1245 | printk(KERN_ERR "sonypi: ioport 0x%.4x busy, using sony-laptop? " |
1246 | "if not use check_ioport=0\n", | 1246 | "if not use check_ioport=0\n", |
1247 | check->port1); | 1247 | check->port1); |
@@ -1255,7 +1255,7 @@ static int __devinit sonypi_setup_ioports(struct sonypi_device *dev, | |||
1255 | 1255 | ||
1256 | if (request_region(ioport_list->port1, | 1256 | if (request_region(ioport_list->port1, |
1257 | sonypi_device.region_size, | 1257 | sonypi_device.region_size, |
1258 | "Sony Programable I/O Device")) { | 1258 | "Sony Programmable I/O Device")) { |
1259 | dev->ioport1 = ioport_list->port1; | 1259 | dev->ioport1 = ioport_list->port1; |
1260 | dev->ioport2 = ioport_list->port2; | 1260 | dev->ioport2 = ioport_list->port2; |
1261 | return 0; | 1261 | return 0; |