aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/sonypi.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-04-11 16:44:25 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-11 16:44:25 -0400
commit1c01a80cfec6f806246f31ff2680cd3639b30e67 (patch)
tree0b554aad2ec1da71ecf6339d4ba51617bfe1dc3c /drivers/char/sonypi.c
parentc44d79950b2daa1025e62eede73e4e4a274d1ef3 (diff)
parent4a9f65f6304a00f6473e83b19c1e83caa1e42530 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/smsc911x.c
Diffstat (limited to 'drivers/char/sonypi.c')
-rw-r--r--drivers/char/sonypi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/sonypi.c b/drivers/char/sonypi.c
index 79e36c878a4..1ee8ce7d276 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;