patch-2.4.0-test9 linux/drivers/acpi/hardware/hwacpi.c

Next file: linux/drivers/acpi/hardware/hwcpu32.c
Previous file: linux/drivers/acpi/hardware/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/drivers/acpi/hardware/hwacpi.c linux/drivers/acpi/hardware/hwacpi.c
@@ -1,7 +1,7 @@
-
 /******************************************************************************
  *
  * Module Name: hwacpi - ACPI hardware functions - mode and timer
+ *              $Revision: 22 $
  *
  *****************************************************************************/
 
@@ -25,11 +25,11 @@
 
 
 #include "acpi.h"
-#include "hardware.h"
+#include "achware.h"
 
 
 #define _COMPONENT          HARDWARE
-	 MODULE_NAME         ("hwacpi");
+	 MODULE_NAME         ("hwacpi")
 
 
 /******************************************************************************
@@ -95,7 +95,7 @@
 {
 
 
-	if (acpi_hw_register_access (ACPI_READ, ACPI_MTX_LOCK, (s32)SCI_EN)) {
+	if (acpi_hw_register_access (ACPI_READ, ACPI_MTX_LOCK, SCI_EN)) {
 		return (SYS_MODE_ACPI);
 	}
 	else {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)