summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpi_cmos_rtc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/acpi_cmos_rtc.c')
-rw-r--r--drivers/acpi/acpi_cmos_rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_cmos_rtc.c b/drivers/acpi/acpi_cmos_rtc.c
index 961b45d18a5..2da8660262e 100644
--- a/drivers/acpi/acpi_cmos_rtc.c
+++ b/drivers/acpi/acpi_cmos_rtc.c
@@ -68,7 +68,7 @@ static int acpi_install_cmos_rtc_space_handler(struct acpi_device *adev,
return -ENODEV;
}
- return 0;
+ return 1;
}
static void acpi_remove_cmos_rtc_space_handler(struct acpi_device *adev)