diff options
Diffstat (limited to 'drivers/platform/x86/sony-laptop.c')
-rw-r--r-- | drivers/platform/x86/sony-laptop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 4ab898a39fea..e642f5f29504 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c | |||
@@ -605,7 +605,7 @@ struct sony_nc_value { | |||
605 | int value; /* current setting */ | 605 | int value; /* current setting */ |
606 | int valid; /* Has ever been set */ | 606 | int valid; /* Has ever been set */ |
607 | int debug; /* active only in debug mode ? */ | 607 | int debug; /* active only in debug mode ? */ |
608 | struct device_attribute devattr; /* sysfs atribute */ | 608 | struct device_attribute devattr; /* sysfs attribute */ |
609 | }; | 609 | }; |
610 | 610 | ||
611 | #define SNC_HANDLE_NAMES(_name, _values...) \ | 611 | #define SNC_HANDLE_NAMES(_name, _values...) \ |
@@ -3129,7 +3129,7 @@ static int sony_pic_add(struct acpi_device *device) | |||
3129 | /* request io port */ | 3129 | /* request io port */ |
3130 | list_for_each_entry_reverse(io, &spic_dev.ioports, list) { | 3130 | list_for_each_entry_reverse(io, &spic_dev.ioports, list) { |
3131 | if (request_region(io->io1.minimum, io->io1.address_length, | 3131 | if (request_region(io->io1.minimum, io->io1.address_length, |
3132 | "Sony Programable I/O Device")) { | 3132 | "Sony Programmable I/O Device")) { |
3133 | dprintk("I/O port1: 0x%.4x (0x%.4x) + 0x%.2x\n", | 3133 | dprintk("I/O port1: 0x%.4x (0x%.4x) + 0x%.2x\n", |
3134 | io->io1.minimum, io->io1.maximum, | 3134 | io->io1.minimum, io->io1.maximum, |
3135 | io->io1.address_length); | 3135 | io->io1.address_length); |
@@ -3137,7 +3137,7 @@ static int sony_pic_add(struct acpi_device *device) | |||
3137 | if (io->io2.minimum) { | 3137 | if (io->io2.minimum) { |
3138 | if (request_region(io->io2.minimum, | 3138 | if (request_region(io->io2.minimum, |
3139 | io->io2.address_length, | 3139 | io->io2.address_length, |
3140 | "Sony Programable I/O Device")) { | 3140 | "Sony Programmable I/O Device")) { |
3141 | dprintk("I/O port2: 0x%.4x (0x%.4x) + 0x%.2x\n", | 3141 | dprintk("I/O port2: 0x%.4x (0x%.4x) + 0x%.2x\n", |
3142 | io->io2.minimum, io->io2.maximum, | 3142 | io->io2.minimum, io->io2.maximum, |
3143 | io->io2.address_length); | 3143 | io->io2.address_length); |