linux/drivers/rtc/rtc-r9701.c

// SPDX-License-Identifier: GPL-2.0-only
/*
 * Driver for Epson RTC-9701JE
 *
 * Copyright (C) 2008 Magnus Damm
 *
 * Based on rtc-max6902.c
 *
 * Copyright (C) 2006 8D Technologies inc.
 * Copyright (C) 2004 Compulab Ltd.
 */

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/device.h>
#include <linux/init.h>
#include <linux/rtc.h>
#include <linux/spi/spi.h>
#include <linux/bcd.h>
#include <linux/delay.h>
#include <linux/bitops.h>

#define RSECCNT
#define RMINCNT
#define RHRCNT
#define RWKCNT
#define RDAYCNT
#define RMONCNT
#define RYRCNT
#define R100CNT
#define RMINAR
#define RHRAR
#define RWKAR
#define RTIMCNT
#define REXT
#define RFLAG
#define RCR

static int write_reg(struct device *dev, int address, unsigned char data)
{}

static int read_regs(struct device *dev, unsigned char *regs, int no_regs)
{}

static int r9701_get_datetime(struct device *dev, struct rtc_time *dt)
{}

static int r9701_set_datetime(struct device *dev, struct rtc_time *dt)
{}

static const struct rtc_class_ops r9701_rtc_ops =;

static int r9701_probe(struct spi_device *spi)
{}

static struct spi_driver r9701_driver =;

module_spi_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();
MODULE_ALIAS();