ACPI: Fix CONFIG_ACPI_DOCK=n compiler warning
[pandora-kernel.git] / include / acpi / acpi_drivers.h
index e49c36d..bb145e4 100644 (file)
@@ -144,7 +144,7 @@ static inline void unregister_dock_notifier(struct notifier_block *nb)
 {
 }
 static inline int register_hotplug_dock_device(acpi_handle handle,
-                                              struct acpi_dock_ops *ops,
+                                              const struct acpi_dock_ops *ops,
                                               void *context)
 {
        return -ENODEV;