diff options
| author | David Brownell <[email protected]> | 2007-05-08 00:33:27 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-05-08 11:15:18 -0700 |
| commit | 5726fb2012f0d96153113ddb7f988a0daea587ce (patch) | |
| tree | 27f31cfcc330cc3bc46dcc5297f85080f6f04ab7 /include | |
| parent | 1c710c896eb461895d3c399e15bb5f20b39c9073 (diff) | |
rtc: remove /sys/class/rtc-dev/*
This simplifies the /dev support by removing a superfluous class_device (the
/sys/class/rtc-dev stuff) and the class_interface that hooks it into the rtc
core. Accordingly, if it's configured then /dev support is now part of the
RTC core, and is never a separate module.
It's another step towards being able to remove "struct class_device".
[[email protected]: drivers/rtc/rtc-dev.c should #include "rtc-core.h"]
Signed-off-by: David Brownell <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-By: Alessandro Zummo <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/rtc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h index 5e22d4510d11..f662ae1aa621 100644 --- a/include/linux/rtc.h +++ b/include/linux/rtc.h @@ -145,7 +145,6 @@ struct rtc_device const struct rtc_class_ops *ops; struct mutex ops_lock; - struct class_device *rtc_dev; struct cdev char_dev; struct mutex char_lock; |