From: Piotr Dymacz Date: Tue, 28 Apr 2015 13:08:51 +0000 (+0200) Subject: Function ar933x_40MHz_xtal should be inline X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2a20fdb7fc365b3ff8f7427837e7c9f73090c694;p=oweals%2Fu-boot_mod.git Function ar933x_40MHz_xtal should be inline --- 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); }