From bd0786895d584644b47ef7e7ea923cda29e73fa6 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 24 Jul 2016 22:33:01 +0100 Subject: hwclock: improve coding style Make string constants to be symbolical declarations. Use longer variable name for rtc and cmos function pointer values. Exclude code that is architecture specific with preprocessor directives. And remove message duplication. Signed-off-by: Sami Kerola --- include/pathnames.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/pathnames.h') diff --git a/include/pathnames.h b/include/pathnames.h index a5e8507e0..de6abe63e 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -195,5 +195,9 @@ /* ctrlaltdel paths */ #define _PATH_PROC_CTRL_ALT_DEL "/proc/sys/kernel/ctrl-alt-del" +/* hwclock-cmos paths */ +#define _PATH_DEV_PORT "/dev/port" +#define _PATH_PROC_CPUINFO "/proc/cpuinfo" + #endif /* PATHNAMES_H */ -- cgit v1.2.3-55-g7522