From patchwork Tue Sep 11 08:44:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Ferre X-Patchwork-Id: 10595291 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D45F920 for ; Tue, 11 Sep 2018 08:45:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 40EF4292B8 for ; Tue, 11 Sep 2018 08:45:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 32EEA292CB; Tue, 11 Sep 2018 08:45:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 339B0292B8 for ; Tue, 11 Sep 2018 08:45:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XsF9c1LktUbD7PkQyiHADYguhTczzuJp68QjAvvH0fM=; b=fGZl1PMbBIc7Q3 ljE6RtbSIR8fBMcH7AMm8aq+7DT113Lpgpg23U/CNfWICDjHOT8Rm1nCNpDZNnTsGYCrViLIAVemC FLeEpaKJi0wI0Mcr3QwAisSuFHprAgbIWBfdCfnezD5SC1AFwzQlyi1PhANwkEe+IYVwQ5XWjLuxg dpsE9iZHNoGSXpS9gAXGVAz4II+rTAwHJiy9DwvhqfBGM6zBTdYEyqtSJp2/1tR0K0lfZCe3aze1o gnU0Cb8fHRQ784nNYyZXSYoA7h2M4apnISkO3bUVFu6CM5pIjGTgeh+Ea6QPjx2B4dUW9aHolaFZ2 LHQ1uBXdCfbnFUnPWg1g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzeIE-0008Ir-Kh; Tue, 11 Sep 2018 08:45:06 +0000 Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fzeIA-0008B6-O3 for linux-arm-kernel@lists.infradead.org; Tue, 11 Sep 2018 08:45:04 +0000 X-IronPort-AV: E=Sophos;i="5.53,359,1531810800"; d="scan'208";a="17560746" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Sep 2018 01:44:51 -0700 Received: from tenerife.corp.atmel.com (10.10.76.4) by chn-sv-exch04.mchp-main.com (10.10.76.105) with Microsoft SMTP Server id 14.3.352.0; Tue, 11 Sep 2018 01:44:50 -0700 From: Nicolas Ferre To: , Subject: [PATCH] mfd: at91-usart: fix missing mod_devicetable.h Date: Tue, 11 Sep 2018 10:44:48 +0200 Message-ID: <20180911084448.17878-1-nicolas.ferre@microchip.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180911125857.5e5c34f4@canb.auug.org.au> References: <20180911125857.5e5c34f4@canb.auug.org.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180911_014502_843824_B5E21FBC X-CRM114-Status: UNSURE ( 9.69 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sfr@canb.auug.org.au, Radu Pirea , linux-next@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Following the inclusion of the patch ac3167257b9f ("headers: separate linux/mod_devicetable.h from linux/platform_device.h"), there is a build issue: drivers/mfd/at91-usart.c:51:34: error: array type has incomplete element type 'struct of_device_id' static const struct of_device_id at91_usart_mode_of_match[] = { Before this patch, the definition was reached by its inclusion of linux/mfd/core.h. The build issue is solved by simply adding the mod_devicetable.h in this driver. Signed-off-by: Nicolas Ferre Cc: Radu Pirea --- drivers/mfd/at91-usart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/at91-usart.c b/drivers/mfd/at91-usart.c index a4b9929c156f..ad743b8ca6be 100644 --- a/drivers/mfd/at91-usart.c +++ b/drivers/mfd/at91-usart.c @@ -11,6 +11,7 @@ #include #include +#include #include #include