Deleted Added
full compact
s3c24x0_rtc.c (210397) s3c24x0_rtc.c (272103)
1/*
2 * Copyright (C) 2010 Andrew Turner
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 */
27
28#include <sys/cdefs.h>
1/*
2 * Copyright (C) 2010 Andrew Turner
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/arm/s3c2xx0/s3c24x0_rtc.c 210397 2010-07-22 23:23:39Z andrew $");
29__FBSDID("$FreeBSD: head/sys/arm/samsung/s3c2xx0/s3c24x0_rtc.c 272103 2014-09-25 11:38:26Z gavin $");
30#include <sys/param.h>
31#include <sys/bus.h>
32#include <sys/time.h>
33#include <sys/clock.h>
34#include <sys/resource.h>
35#include <sys/systm.h>
36#include <sys/rman.h>
37#include <sys/kernel.h>
38#include <sys/module.h>
39
40#include <machine/bus.h>
41
30#include <sys/param.h>
31#include <sys/bus.h>
32#include <sys/time.h>
33#include <sys/clock.h>
34#include <sys/resource.h>
35#include <sys/systm.h>
36#include <sys/rman.h>
37#include <sys/kernel.h>
38#include <sys/module.h>
39
40#include <machine/bus.h>
41
42#include
42#include <arm/samsung/s3c2xx0/s3c24x0reg.h>
43
44#include "clock_if.h"
45
46#define YEAR_BASE 2000
47
48struct s3c2xx0_rtc_softc {
49 struct resource *mem_res;
50};

--- 112 unchanged lines hidden ---
43
44#include "clock_if.h"
45
46#define YEAR_BASE 2000
47
48struct s3c2xx0_rtc_softc {
49 struct resource *mem_res;
50};

--- 112 unchanged lines hidden ---