Message ID | 1363336226-23175-1-git-send-email-haojian.zhuang@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 1B1BEDF24C for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 15 Mar 2013 08:34:19 +0000 (UTC) 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 <linux-arm-kernel@lists.infradead.org>; 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 <haojian.zhuang@linaro.org> 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 <haojian.zhuang@linaro.org>, patches@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org |
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 <linux/init.h> +#include <linux/platform_device.h> #include <linux/gpio.h> #include <asm/mach/arch.h>
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 <haojian.zhuang@linaro.org> --- arch/arm/mach-mmp/gplugd.c | 1 + 1 file changed, 1 insertion(+)