diff options
| author | Paul Mundt <lethal@linux-sh.org> | 2008-10-31 03:18:02 -0400 |
|---|---|---|
| committer | Paul Mundt <lethal@linux-sh.org> | 2008-10-31 03:18:02 -0400 |
| commit | 0803d540db06f53acd2fabf1347d5b665218f14a (patch) | |
| tree | f5f8e5510a76bb59d3583478961daf5afc32df08 /drivers/misc | |
| parent | a8884e3415c29c58a5875d54c109c4a7fcaa6fb4 (diff) | |
| parent | 721d5dfe7e516954c501d5e9d0dfab379cf4241a (diff) | |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/misc')
| -rw-r--r-- | drivers/misc/hdpuftrs/hdpu_nexus.c | 1 | ||||
| -rw-r--r-- | drivers/misc/sgi-xp/Makefile | 4 | ||||
| -rw-r--r-- | drivers/misc/sgi-xp/xp.h | 4 | ||||
| -rw-r--r-- | drivers/misc/sgi-xp/xpc_main.c | 4 | ||||
| -rw-r--r-- | drivers/misc/sony-laptop.c | 6 |
5 files changed, 12 insertions, 7 deletions
diff --git a/drivers/misc/hdpuftrs/hdpu_nexus.c b/drivers/misc/hdpuftrs/hdpu_nexus.c index 08e26beefe64..ce39fa54949b 100644 --- a/drivers/misc/hdpuftrs/hdpu_nexus.c +++ b/drivers/misc/hdpuftrs/hdpu_nexus.c | |||
| @@ -113,7 +113,6 @@ static int hdpu_nexus_probe(struct platform_device *pdev) | |||
| 113 | if (!hdpu_chassis_id) | 113 | if (!hdpu_chassis_id) |
| 114 | printk(KERN_WARNING "sky_nexus: " | 114 | printk(KERN_WARNING "sky_nexus: " |
| 115 | "Unable to create proc dir entry: sky_chassis_id\n"); | 115 | "Unable to create proc dir entry: sky_chassis_id\n"); |
| 116 | } | ||
| 117 | 116 | ||
| 118 | return 0; | 117 | return 0; |
| 119 | } | 118 | } |
diff --git a/drivers/misc/sgi-xp/Makefile b/drivers/misc/sgi-xp/Makefile index 35ce28578075..4fc40d8e1bcc 100644 --- a/drivers/misc/sgi-xp/Makefile +++ b/drivers/misc/sgi-xp/Makefile | |||
| @@ -5,14 +5,14 @@ | |||
| 5 | obj-$(CONFIG_SGI_XP) += xp.o | 5 | obj-$(CONFIG_SGI_XP) += xp.o |
| 6 | xp-y := xp_main.o | 6 | xp-y := xp_main.o |
| 7 | xp-$(CONFIG_IA64_SGI_SN2) += xp_sn2.o xp_nofault.o | 7 | xp-$(CONFIG_IA64_SGI_SN2) += xp_sn2.o xp_nofault.o |
| 8 | xp-$(CONFIG_IA64_GENERIC) += xp_sn2.o xp_nofault.o xp_uv.o | 8 | xp-$(CONFIG_IA64_GENERIC) += xp_sn2.o xp_nofault.o |
| 9 | xp-$(CONFIG_IA64_SGI_UV) += xp_uv.o | 9 | xp-$(CONFIG_IA64_SGI_UV) += xp_uv.o |
| 10 | xp-$(CONFIG_X86_64) += xp_uv.o | 10 | xp-$(CONFIG_X86_64) += xp_uv.o |
| 11 | 11 | ||
| 12 | obj-$(CONFIG_SGI_XP) += xpc.o | 12 | obj-$(CONFIG_SGI_XP) += xpc.o |
| 13 | xpc-y := xpc_main.o xpc_channel.o xpc_partition.o | 13 | xpc-y := xpc_main.o xpc_channel.o xpc_partition.o |
| 14 | xpc-$(CONFIG_IA64_SGI_SN2) += xpc_sn2.o | 14 | xpc-$(CONFIG_IA64_SGI_SN2) += xpc_sn2.o |
| 15 | xpc-$(CONFIG_IA64_GENERIC) += xpc_sn2.o xpc_uv.o | 15 | xpc-$(CONFIG_IA64_GENERIC) += xpc_sn2.o |
| 16 | xpc-$(CONFIG_IA64_SGI_UV) += xpc_uv.o | 16 | xpc-$(CONFIG_IA64_SGI_UV) += xpc_uv.o |
| 17 | xpc-$(CONFIG_X86_64) += xpc_uv.o | 17 | xpc-$(CONFIG_X86_64) += xpc_uv.o |
| 18 | 18 | ||
diff --git a/drivers/misc/sgi-xp/xp.h b/drivers/misc/sgi-xp/xp.h index 859a5281c61b..ed1722e50049 100644 --- a/drivers/misc/sgi-xp/xp.h +++ b/drivers/misc/sgi-xp/xp.h | |||
| @@ -19,7 +19,11 @@ | |||
| 19 | #include <asm/system.h> | 19 | #include <asm/system.h> |
| 20 | #include <asm/sn/arch.h> /* defines is_shub1() and is_shub2() */ | 20 | #include <asm/sn/arch.h> /* defines is_shub1() and is_shub2() */ |
| 21 | #define is_shub() ia64_platform_is("sn2") | 21 | #define is_shub() ia64_platform_is("sn2") |
| 22 | #ifdef CONFIG_IA64_SGI_UV | ||
| 22 | #define is_uv() ia64_platform_is("uv") | 23 | #define is_uv() ia64_platform_is("uv") |
| 24 | #else | ||
| 25 | #define is_uv() 0 | ||
| 26 | #endif | ||
| 23 | #endif | 27 | #endif |
| 24 | #ifdef CONFIG_X86_64 | 28 | #ifdef CONFIG_X86_64 |
| 25 | #include <asm/genapic.h> | 29 | #include <asm/genapic.h> |
diff --git a/drivers/misc/sgi-xp/xpc_main.c b/drivers/misc/sgi-xp/xpc_main.c index 46325fc84811..e8d5cfbd32c2 100644 --- a/drivers/misc/sgi-xp/xpc_main.c +++ b/drivers/misc/sgi-xp/xpc_main.c | |||
| @@ -1104,7 +1104,7 @@ xpc_do_exit(enum xp_retval reason) | |||
| 1104 | 1104 | ||
| 1105 | if (is_shub()) | 1105 | if (is_shub()) |
| 1106 | xpc_exit_sn2(); | 1106 | xpc_exit_sn2(); |
| 1107 | else | 1107 | else if (is_uv()) |
| 1108 | xpc_exit_uv(); | 1108 | xpc_exit_uv(); |
| 1109 | } | 1109 | } |
| 1110 | 1110 | ||
| @@ -1363,7 +1363,7 @@ out_2: | |||
| 1363 | out_1: | 1363 | out_1: |
| 1364 | if (is_shub()) | 1364 | if (is_shub()) |
| 1365 | xpc_exit_sn2(); | 1365 | xpc_exit_sn2(); |
| 1366 | else | 1366 | else if (is_uv()) |
| 1367 | xpc_exit_uv(); | 1367 | xpc_exit_uv(); |
| 1368 | return ret; | 1368 | return ret; |
| 1369 | } | 1369 | } |
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c index 5a97d3a9d745..f483c4221f76 100644 --- a/drivers/misc/sony-laptop.c +++ b/drivers/misc/sony-laptop.c | |||
| @@ -2315,8 +2315,10 @@ end: | |||
| 2315 | */ | 2315 | */ |
| 2316 | static int sony_pic_disable(struct acpi_device *device) | 2316 | static int sony_pic_disable(struct acpi_device *device) |
| 2317 | { | 2317 | { |
| 2318 | if (ACPI_FAILURE(acpi_evaluate_object(device->handle, | 2318 | acpi_status ret = acpi_evaluate_object(device->handle, "_DIS", NULL, |
| 2319 | "_DIS", NULL, NULL))) | 2319 | NULL); |
| 2320 | |||
| 2321 | if (ACPI_FAILURE(ret) && ret != AE_NOT_FOUND) | ||
| 2320 | return -ENXIO; | 2322 | return -ENXIO; |
| 2321 | 2323 | ||
| 2322 | dprintk("Device disabled\n"); | 2324 | dprintk("Device disabled\n"); |
