diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/dock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 811b1aac65d5..4546bf873aea 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include <linux/notifier.h> | 29 | #include <linux/notifier.h> |
30 | #include <linux/platform_device.h> | 30 | #include <linux/platform_device.h> |
31 | #include <linux/jiffies.h> | 31 | #include <linux/jiffies.h> |
32 | #include <linux/stddef.h> | ||
32 | #include <acpi/acpi_bus.h> | 33 | #include <acpi/acpi_bus.h> |
33 | #include <acpi/acpi_drivers.h> | 34 | #include <acpi/acpi_drivers.h> |
34 | 35 | ||
@@ -674,7 +675,7 @@ static ssize_t show_dock_uid(struct device *dev, | |||
674 | struct device_attribute *attr, char *buf) | 675 | struct device_attribute *attr, char *buf) |
675 | { | 676 | { |
676 | unsigned long lbuf; | 677 | unsigned long lbuf; |
677 | acpi_status status = acpi_evaluate_integer(dock_station->handle, "_UID", 0, &lbuf); | 678 | acpi_status status = acpi_evaluate_integer(dock_station->handle, "_UID", NULL, &lbuf); |
678 | if(ACPI_FAILURE(status)) { | 679 | if(ACPI_FAILURE(status)) { |
679 | return 0; | 680 | return 0; |
680 | } | 681 | } |