From 2a20fdb7fc365b3ff8f7427837e7c9f73090c694 Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Tue, 28 Apr 2015 15:08:51 +0200 Subject: [PATCH] Function ar933x_40MHz_xtal should be inline --- u-boot/cpu/mips/ar7240/ar933x_clocks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/u-boot/cpu/mips/ar7240/ar933x_clocks.c b/u-boot/cpu/mips/ar7240/ar933x_clocks.c index 66257e4..8771d61 100644 --- a/u-boot/cpu/mips/ar7240/ar933x_clocks.c +++ b/u-boot/cpu/mips/ar7240/ar933x_clocks.c @@ -2,6 +2,7 @@ * Atheros AR933x clocks helper functions * * Copyright (C) 2014 Piotr Dymacz + * Copyright (C) 2014 Mantas Pucka * * SPDX-License-Identifier:GPL-2.0 */ @@ -12,7 +13,7 @@ #include #include -int ar933x_40MHz_xtal(void) +inline int ar933x_40MHz_xtal(void) { return (ar933x_reg_read(BOOTSTRAP_STATUS_REG) & BOOTSTRAP_SEL_25_40M_MASK); } -- 2.25.1