[PATCH] constify rtc_class_ops: update drivers
[linux-2.6-block.git] / drivers / rtc / rtc-test.c
index e1fa5fe7901f900167b448997cb4f4373a85e892..bc4bd24508a2d4beb23458c3b6ee3a86b7e41e26 100644 (file)
@@ -75,7 +75,7 @@ static int test_rtc_ioctl(struct device *dev, unsigned int cmd,
        }
 }
 
-static struct rtc_class_ops test_rtc_ops = {
+static const struct rtc_class_ops test_rtc_ops = {
        .proc = test_rtc_proc,
        .read_time = test_rtc_read_time,
        .set_time = test_rtc_set_time,