#include <linux/kstrtox.h>
#include <linux/module.h>
#include <linux/rtc.h>
#include "rtc-core.h"
static ssize_t
name_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(name);
static ssize_t
date_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(date);
static ssize_t
time_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(time);
static ssize_t
since_epoch_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(since_epoch);
static ssize_t
max_user_freq_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static ssize_t
max_user_freq_store(struct device *dev, struct device_attribute *attr,
const char *buf, size_t n)
{ … }
static DEVICE_ATTR_RW(max_user_freq);
static ssize_t
hctosys_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(hctosys);
static ssize_t
wakealarm_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static ssize_t
wakealarm_store(struct device *dev, struct device_attribute *attr,
const char *buf, size_t n)
{ … }
static DEVICE_ATTR_RW(wakealarm);
static ssize_t
offset_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static ssize_t
offset_store(struct device *dev, struct device_attribute *attr,
const char *buf, size_t n)
{ … }
static DEVICE_ATTR_RW(offset);
static ssize_t
range_show(struct device *dev, struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(range);
static struct attribute *rtc_attrs[] = …;
static bool rtc_does_wakealarm(struct rtc_device *rtc)
{ … }
static umode_t rtc_attr_is_visible(struct kobject *kobj,
struct attribute *attr, int n)
{ … }
static struct attribute_group rtc_attr_group = …;
static const struct attribute_group *rtc_attr_groups[] = …;
const struct attribute_group **rtc_get_dev_attribute_groups(void)
{ … }
int rtc_add_groups(struct rtc_device *rtc, const struct attribute_group **grps)
{ … }
EXPORT_SYMBOL(…);
int rtc_add_group(struct rtc_device *rtc, const struct attribute_group *grp)
{ … }
EXPORT_SYMBOL(…);