rtc-ds1553.c (5c34202b8bf942da411b6599668a76b07449bbfd) rtc-ds1553.c (7b595756ec1f49e0049a9e01a1298d53a7faaa15)
1/*
2 * An rtc driver for the Dallas DS1553
3 *
4 * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 276 unchanged lines hidden (view full) ---

285 writeb(*buf++, ioaddr + pos++);
286 return count;
287}
288
289static struct bin_attribute ds1553_nvram_attr = {
290 .attr = {
291 .name = "nvram",
292 .mode = S_IRUGO | S_IWUGO,
1/*
2 * An rtc driver for the Dallas DS1553
3 *
4 * Copyright (C) 2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.

--- 276 unchanged lines hidden (view full) ---

285 writeb(*buf++, ioaddr + pos++);
286 return count;
287}
288
289static struct bin_attribute ds1553_nvram_attr = {
290 .attr = {
291 .name = "nvram",
292 .mode = S_IRUGO | S_IWUGO,
293 .owner = THIS_MODULE,
294 },
295 .size = RTC_OFFSET,
296 .read = ds1553_nvram_read,
297 .write = ds1553_nvram_write,
298};
299
300static int __devinit ds1553_rtc_probe(struct platform_device *pdev)
301{

--- 117 unchanged lines hidden ---
293 },
294 .size = RTC_OFFSET,
295 .read = ds1553_nvram_read,
296 .write = ds1553_nvram_write,
297};
298
299static int __devinit ds1553_rtc_probe(struct platform_device *pdev)
300{

--- 117 unchanged lines hidden ---