forked from Imagelibrary/rtems
libchip/rtc: Fixed 19 compiler warnings
This commit is contained in:
committed by
Gedare Bloom
parent
f806289f31
commit
aa314cf883
@@ -14,6 +14,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
#include <libchip/rtc.h>
|
||||||
|
#include <libchip/icm7170.h>
|
||||||
|
|
||||||
#ifndef _ICM7170_MULTIPLIER
|
#ifndef _ICM7170_MULTIPLIER
|
||||||
#define _ICM7170_MULTIPLIER 1
|
#define _ICM7170_MULTIPLIER 1
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
|
#include <libchip/rtc.h>
|
||||||
|
#include <libchip/m48t08.h>
|
||||||
|
|
||||||
#ifndef _M48T08_MULTIPLIER
|
#ifndef _M48T08_MULTIPLIER
|
||||||
#define _M48T08_MULTIPLIER 1
|
#define _M48T08_MULTIPLIER 1
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ bool mc146818a_probe(
|
|||||||
/*
|
/*
|
||||||
* Initialize chip
|
* Initialize chip
|
||||||
*/
|
*/
|
||||||
void mc146818a_initialize(
|
static void mc146818a_initialize(
|
||||||
int minor
|
int minor
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -69,7 +69,7 @@ void mc146818a_initialize(
|
|||||||
/*
|
/*
|
||||||
* Read time from chip
|
* Read time from chip
|
||||||
*/
|
*/
|
||||||
int mc146818a_get_time(
|
static int mc146818a_get_time(
|
||||||
int minor,
|
int minor,
|
||||||
rtems_time_of_day *time
|
rtems_time_of_day *time
|
||||||
)
|
)
|
||||||
@@ -129,7 +129,7 @@ int mc146818a_get_time(
|
|||||||
/*
|
/*
|
||||||
* Set time into chip
|
* Set time into chip
|
||||||
*/
|
*/
|
||||||
int mc146818a_set_time(
|
static int mc146818a_set_time(
|
||||||
int minor,
|
int minor,
|
||||||
const rtems_time_of_day *time
|
const rtems_time_of_day *time
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user