diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-24 16:13:08 -0500 |
|---|---|---|
| committer | Len Brown <lenb@dhcppc3.> | 2004-02-24 16:13:08 -0500 |
| commit | bbf9f7c510d2bc17a407ac6ad9b9af2d62d642a8 (patch) | |
| tree | c24eda86c9cea24d06fa5131a79fc40ff2a93e3c | |
| parent | ad7272b872f106072790e14133f9d7436e6405ca (diff) | |
[PATCH] drivers/acpi/sleep/proc.c warnings
drivers/acpi/sleep/proc.c:359: warning: initialization from incompatible pointer type
drivers/acpi/sleep/proc.c:367: warning: initialization from incompatible pointer type
| -rw-r--r-- | drivers/acpi/sleep/proc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/sleep/proc.c b/drivers/acpi/sleep/proc.c index 9290427f2041..5decea39bd50 100644 --- a/drivers/acpi/sleep/proc.c +++ b/drivers/acpi/sleep/proc.c @@ -44,10 +44,10 @@ static int acpi_system_sleep_open_fs(struct inode *inode, struct file *file) return single_open(file, acpi_system_sleep_seq_show, PDE(inode)->data); } -static int +static ssize_t acpi_system_write_sleep ( struct file *file, - const char *buffer, + const char __user *buffer, size_t count, loff_t *ppos) { @@ -189,10 +189,10 @@ get_date_field ( } -static int +static ssize_t acpi_system_write_alarm ( struct file *file, - const char *buffer, + const char __user *buffer, size_t count, loff_t *ppos) { |
