OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtc: ds1307: simplify hwmon config
[uclinux-h8/linux.git]
/
drivers
/
rtc
/
rtc-ds1307.c
diff --git
a/drivers/rtc/rtc-ds1307.c
b/drivers/rtc/rtc-ds1307.c
index
0162a60
..
4b2b462
100644
(file)
--- a/
drivers/rtc/rtc-ds1307.c
+++ b/
drivers/rtc/rtc-ds1307.c
@@
-1042,7
+1042,7
@@
static u8 ds1307_trickle_init(struct ds1307 *ds1307,
/*----------------------------------------------------------------------*/
-#if
def CONFIG_RTC_DRV_DS1307_HWMON
+#if
IS_REACHABLE(CONFIG_HWMON)
/*
* Temperature sensor support for ds3231 devices.