rtc: fix handling of missing tm_year data when reading alarms
[safe/jmp/linux-2.6] / drivers / rtc / rtc-stk17ta8.c
index 0947f8c..f4cd46e 100644 (file)
@@ -280,7 +280,6 @@ static struct bin_attribute stk17ta8_nvram_attr = {
        .attr = {
                .name = "nvram",
                .mode = S_IRUGO | S_IWUSR,
-               .owner = THIS_MODULE,
        },
        .size = RTC_OFFSET,
        .read = stk17ta8_nvram_read,