diff options
author | Len Brown <len.brown@intel.com> | 2008-10-23 05:33:29 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-23 05:33:29 +0200 |
commit | 7674416db4ee3d43813dddb650364ca994755256 (patch) | |
tree | 1a4549823d7bdd892dc3b3b7b3fa9214216ac384 /drivers/acpi/dock.c | |
parent | Merge branch 'thinkpad' into test (diff) | |
parent | ACPI: Change acpi_evaluate_integer to support 64-bit on 32-bit kernels (diff) | |
download | linux-7674416db4ee3d43813dddb650364ca994755256.tar.xz linux-7674416db4ee3d43813dddb650364ca994755256.zip |
Merge branch 'ull' into test
Conflicts:
drivers/acpi/bay.c
drivers/acpi/dock.c
drivers/ata/libata-acpi.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/dock.c')
-rw-r--r-- | drivers/acpi/dock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/acpi/dock.c b/drivers/acpi/dock.c index 913bb1e89dd6..5b30b8d91d71 100644 --- a/drivers/acpi/dock.c +++ b/drivers/acpi/dock.c @@ -294,7 +294,7 @@ EXPORT_SYMBOL_GPL(is_dock_device); */ static int dock_present(struct dock_station *ds) { - unsigned long sta; + unsigned long long sta; acpi_status status; if (ds) { @@ -900,7 +900,7 @@ static DEVICE_ATTR(undock, S_IWUSR, NULL, write_undock); static ssize_t show_dock_uid(struct device *dev, struct device_attribute *attr, char *buf) { - unsigned long lbuf; + unsigned long long lbuf; struct dock_station *dock_station = *((struct dock_station **) dev->platform_data); acpi_status status = acpi_evaluate_integer(dock_station->handle, @@ -908,7 +908,7 @@ static ssize_t show_dock_uid(struct device *dev, if (ACPI_FAILURE(status)) return 0; - return snprintf(buf, PAGE_SIZE, "%lx\n", lbuf); + return snprintf(buf, PAGE_SIZE, "%llx\n", lbuf); } static DEVICE_ATTR(uid, S_IRUGO, show_dock_uid, NULL); |