linux/drivers/rtc/rtc-aspeed.c

// SPDX-License-Identifier: GPL-2.0+
// Copyright 2015 IBM Corp.

#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/rtc.h>
#include <linux/io.h>

struct aspeed_rtc {};

#define RTC_TIME
#define RTC_YEAR
#define RTC_CTRL

#define RTC_UNLOCK
#define RTC_ENABLE

static int aspeed_rtc_read_time(struct device *dev, struct rtc_time *tm)
{}

static int aspeed_rtc_set_time(struct device *dev, struct rtc_time *tm)
{}

static const struct rtc_class_ops aspeed_rtc_ops =;

static int aspeed_rtc_probe(struct platform_device *pdev)
{}

static const struct of_device_id aspeed_rtc_match[] =;
MODULE_DEVICE_TABLE(of, aspeed_rtc_match);

static struct platform_driver aspeed_rtc_driver =;

module_platform_driver_probe();

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