From 7f7aca2dfb6b882423d55d8b8a38a2347813a116 Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Tue, 28 Mar 2006 17:04:00 -0500 Subject: [PATCH] --- yaml --- r: 29119 b: refs/heads/master c: 200739c179c63d21804e9e8e2ced265243831579 h: refs/heads/master i: 29117: 9e5bb6d40be0aa94881c3cdfff93bba67efd391c 29115: cad5392f0344c0644b955a93c32da95489bd635f 29111: 097f34a694941b1dd71c75d1ea0bbe9218190ea7 29103: 4fed7715b36bcb75679d5de0bdf5c3342f2ff47c 29087: c435b258ca88258e4830e54ff12b2091c68fb744 29055: 257971307cad548afff05c223e6ed3f17c1a7a4e v: v3 --- [refs] | 2 +- trunk/drivers/acpi/asus_acpi.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 30a3ed10cac9..9063a152579a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1a36561607abf1405b56a41aac2fd163429cd1f8 +refs/heads/master: 200739c179c63d21804e9e8e2ced265243831579 diff --git a/trunk/drivers/acpi/asus_acpi.c b/trunk/drivers/acpi/asus_acpi.c index f4c87750dbf2..3f3c392d6be8 100644 --- a/trunk/drivers/acpi/asus_acpi.c +++ b/trunk/drivers/acpi/asus_acpi.c @@ -817,7 +817,7 @@ typedef int (proc_writefunc) (struct file * file, const char __user * buffer, unsigned long count, void *data); static int -__init asus_proc_add(char *name, proc_writefunc * writefunc, +asus_proc_add(char *name, proc_writefunc * writefunc, proc_readfunc * readfunc, mode_t mode, struct acpi_device *device) { @@ -836,7 +836,7 @@ __init asus_proc_add(char *name, proc_writefunc * writefunc, return 0; } -static int __init asus_hotk_add_fs(struct acpi_device *device) +static int asus_hotk_add_fs(struct acpi_device *device) { struct proc_dir_entry *proc; mode_t mode; @@ -954,7 +954,7 @@ static void asus_hotk_notify(acpi_handle handle, u32 event, void *data) * This function is used to initialize the hotk with right values. In this * method, we can make all the detection we want, and modify the hotk struct */ -static int __init asus_hotk_get_info(void) +static int asus_hotk_get_info(void) { struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; struct acpi_buffer dsdt = { ACPI_ALLOCATE_BUFFER, NULL }; @@ -1101,7 +1101,7 @@ static int __init asus_hotk_get_info(void) return AE_OK; } -static int __init asus_hotk_check(void) +static int asus_hotk_check(void) { int result = 0; @@ -1119,7 +1119,7 @@ static int __init asus_hotk_check(void) return result; } -static int __init asus_hotk_add(struct acpi_device *device) +static int asus_hotk_add(struct acpi_device *device) { acpi_status status = AE_OK; int result;