summaryrefslogtreecommitdiff
path: root/rtc/ds1306.c
diff options
context:
space:
mode:
Diffstat (limited to 'rtc/ds1306.c')
-rw-r--r--rtc/ds1306.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rtc/ds1306.c b/rtc/ds1306.c
index e669461..4d1115e 100644
--- a/rtc/ds1306.c
+++ b/rtc/ds1306.c
@@ -71,12 +71,12 @@ extern int spi_chipsel_cnt;
static unsigned int bin2bcd (unsigned int n);
static unsigned char bcd2bin (unsigned char c);
-static unsigned char rtc_read (unsigned char reg);
-static void rtc_write (unsigned char reg, unsigned char val);
/* ************************************************************************* */
#ifdef CONFIG_SXNI855T /* !!! SHOULD BE CHANGED TO NEW CODE !!! */
+static unsigned char rtc_read (unsigned char reg);
+static void rtc_write (unsigned char reg, unsigned char val);
static void soft_spi_send (unsigned char n);
static unsigned char soft_spi_read (void);
static void init_spi (void);