linux/drivers/rtc/rtc-test.c

// SPDX-License-Identifier: GPL-2.0
/*
 * An RTC test device/driver
 * Copyright (C) 2005 Tower Technologies
 * Author: Alessandro Zummo <[email protected]>
 */

#include <linux/module.h>
#include <linux/err.h>
#include <linux/rtc.h>
#include <linux/platform_device.h>

#define MAX_RTC_TEST

struct rtc_test_data {};

static struct platform_device *pdev[MAX_RTC_TEST];

static int test_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm)
{}

static int test_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm)
{}

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

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

static int test_rtc_alarm_irq_enable(struct device *dev, unsigned int enable)
{}

static const struct rtc_class_ops test_rtc_ops_noalm =;

static const struct rtc_class_ops test_rtc_ops =;

static void test_rtc_alarm_handler(struct timer_list *t)
{}

static int test_probe(struct platform_device *plat_dev)
{}

static struct platform_driver test_driver =;

static int __init test_init(void)
{}

static void __exit test_exit(void)
{}

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

module_init();
module_exit(test_exit);