From patchwork Mon Jan 18 02:57:31 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Huewe X-Patchwork-Id: 73619 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o0I2v0B1030441 for ; Mon, 18 Jan 2010 02:57:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754655Ab0ARC5j (ORCPT ); Sun, 17 Jan 2010 21:57:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754857Ab0ARC5i (ORCPT ); Sun, 17 Jan 2010 21:57:38 -0500 Received: from mail.gmx.net ([213.165.64.20]:45803 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754655Ab0ARC5f (ORCPT ); Sun, 17 Jan 2010 21:57:35 -0500 Received: (qmail invoked by alias); 18 Jan 2010 02:57:33 -0000 Received: from dslb-084-056-053-170.pools.arcor-ip.net (EHLO lamer.localnet) [84.56.53.170] by mail.gmx.net (mp069) with SMTP; 18 Jan 2010 03:57:33 +0100 X-Authenticated: #12255092 X-Provags-ID: V01U2FsdGVkX1/LTJ4uYC7LmNosyvVaFLOxsWXjbOmjb6iwadkLgf Fgf18mLEdjwG3S From: Peter Huewe To: Paul Mundt Subject: [PATCH] arch/sh: Fix build failure caused by missing semicolon / missing include Date: Mon, 18 Jan 2010 03:57:31 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.27-05415-g69a8594; KDE/4.3.3; x86_64; ; ) Cc: Matt Fleming , Francesco Virlinzi , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, peterhuewe@gmx.de MIME-Version: 1.0 Message-Id: <201001180357.31594.PeterHuewe@gmx.de> X-Y-GMX-Trusted: 0 X-FuHaFi: 0.52000000000000002 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h index 4b0882b..c5313e2 100644 --- a/arch/sh/include/asm/mmu.h +++ b/arch/sh/include/asm/mmu.h @@ -1,5 +1,6 @@ #ifndef __MMU_H #define __MMU_H +#include /* * Privileged Space Mapping Buffer (PMB) definitions @@ -75,7 +76,7 @@ int pmb_init(void); static inline long pmb_remap(unsigned long virt, unsigned long phys, unsigned long size, unsigned long flags) { - return -EINVAL + return -EINVAL; } static inline void pmb_unmap(unsigned long addr)