habv4: habv4_get_status(): fix warning with no-op static inline function
This patch fixes the following warning: CC arch/arm/boards/foo/board.o In file included from arch/arm/boards/foo/board.c:22:0: include/habv4.h:24:19: warning: function declaration isn't a prototype [-Wstrict-prototypes] static inline int habv4_get_status() ^ Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
5bd9b2566d
commit
680fa68f10
|
@ -21,7 +21,7 @@
|
||||||
#ifdef CONFIG_HABV4
|
#ifdef CONFIG_HABV4
|
||||||
int habv4_get_status(void);
|
int habv4_get_status(void);
|
||||||
#else
|
#else
|
||||||
static inline int habv4_get_status()
|
static inline int habv4_get_status(void)
|
||||||
{
|
{
|
||||||
return -EPERM;
|
return -EPERM;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue