From patchwork Fri Mar 15 08:30:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 227879 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id CD5752C00C2 for ; Fri, 15 Mar 2013 19:34:41 +1100 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UGQ3E-0007T3-JX; Fri, 15 Mar 2013 08:31:44 +0000 Received: from mail-pb0-f47.google.com ([209.85.160.47]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UGQ3B-0007Sg-Gf for linux-arm-kernel@lists.infradead.org; Fri, 15 Mar 2013 08:31:42 +0000 Received: by mail-pb0-f47.google.com with SMTP id rp2so3495801pbb.20 for ; Fri, 15 Mar 2013 01:31:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:mime-version :content-type:content-transfer-encoding:x-gm-message-state; bh=jBvGRcC8f/vGYMRq6dAUE/UT51YB0hGfkKwnRv135O0=; b=EryguFNZ6Umz7G1e2VeMDlKo7NrSbApFE3Naxfyv6obETJ/TMeMZ8kmShmBdASqZ4c MnDzdgwSBRqUz97RoF/C3SXsMqGNsACBlBkLSxwkCJ/Imml1G6+YLPpvDUXAMTAOdOVS oArYrewfuykeomDIheasbeVBqHBnBoAc2FRbDI3+zjia5HS+8lE1yvCFlajYbZrKw29A CvdmZp5kHUP3tCZU2v6IEcuzIusxNlgG8ZHIbcTpeIXHUjlrKAcyNUzEgzHeCXfyK8K4 0XNNnSzuZiHYF6F5yu7kjErhWF3Mu1S0zugbWoIhXWszxy8StcR1rxKTUO2EBkAN7nJx PMpA== X-Received: by 10.68.197.231 with SMTP id ix7mr13863770pbc.123.1363336298993; Fri, 15 Mar 2013 01:31:38 -0700 (PDT) Received: from localhost.localdomain ([67.198.145.34]) by mx.google.com with ESMTPS id ti8sm7619977pbc.12.2013.03.15.01.31.35 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Mar 2013 01:31:37 -0700 (PDT) From: Haojian Zhuang To: arnd@arndb.de, olof@lixom.net, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: mmp: add platform_device head file in gplugd Date: Fri, 15 Mar 2013 16:30:26 +0800 Message-Id: <1363336226-23175-1-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmBK9xIJnfr1FBXC0F3Yx1kYjUn+QduydTOEDKVDbFaixNZhhDaaOgXMV0sDJbVOl2g8u+2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130315_043141_642797_12DAE70C X-CRM114-Status: GOOD ( 10.00 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.47 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Haojian Zhuang , patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org arch/arm/mach-mmp/gplugd.c: In function ‘gplugd_init’: arch/arm/mach-mmp/gplugd.c:188:2: error: implicit declaration of function ‘platform_device_register’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[1]: *** [arch/arm/mach-mmp/gplugd.o] Error 1 make: *** [arch/arm/mach-mmp] Error 2 So append platform_device.h to resolve build issue. Signed-off-by: Haojian Zhuang --- arch/arm/mach-mmp/gplugd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c index d1e2d59..f62b68d 100644 --- a/arch/arm/mach-mmp/gplugd.c +++ b/arch/arm/mach-mmp/gplugd.c @@ -9,6 +9,7 @@ */ #include +#include #include #include