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: 15371 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4D28223E2C for ; Fri, 15 Mar 2013 08:31:42 +0000 (UTC) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by fiordland.canonical.com (Postfix) with ESMTP id DEEACA18122 for ; Fri, 15 Mar 2013 08:31:41 +0000 (UTC) Received: by mail-ve0-f177.google.com with SMTP id m1so2406245ves.36 for ; Fri, 15 Mar 2013 01:31:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf: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=FMkfDx0KF/iLTL7l4kkg4JdMOEUgZL299OZohFT6MxkAiJbIJ/8ZO8jhs1xcdBIlup TfSR8jalNZOyjL0LnewT3LYoO/2MLXphtZvQay8jpfutgab+lO/gVNoNsZGLxtJ6V2bq xDX1h/eouuVTEH+z6ObU8K9sKI7bscqWMCAQQ9HK/scplVUCDieR+0hi31QWy+dGgxXu sdHFTcBB6nF36WF9s1ql1fKccNjR915pQEaoiLwui6KM5RAFZxvFgiqE+hDGrS0I790Y 68ORMweMhlnVcNXr6kxkFMnq2AN4MPyAlq1g6uCTVlXYiqrqj67kqs/P5hQJhupDBpzl fMMQ== X-Received: by 10.58.84.164 with SMTP id a4mr5945530vez.9.1363336301186; Fri, 15 Mar 2013 01:31:41 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp109465veb; Fri, 15 Mar 2013 01:31:40 -0700 (PDT) X-Received: by 10.68.170.193 with SMTP id ao1mr13539489pbc.129.1363336300082; Fri, 15 Mar 2013 01:31:40 -0700 (PDT) Received: from mail-pd0-f177.google.com (mail-pd0-f177.google.com [209.85.192.177]) by mx.google.com with ESMTPS id zo5si6370635pbc.72.2013.03.15.01.31.39 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 15 Mar 2013 01:31:39 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of haojian.zhuang@linaro.org) client-ip=209.85.192.177; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.192.177 is neither permitted nor denied by best guess record for domain of haojian.zhuang@linaro.org) smtp.mail=haojian.zhuang@linaro.org Received: by mail-pd0-f177.google.com with SMTP id y14so188752pdi.8 for ; Fri, 15 Mar 2013 01:31:39 -0700 (PDT) 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 Cc: patches@linaro.org, Haojian Zhuang 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: ALoCoQlJRiXHE4SXdQtKOKYFjHOnsyY5am0dLQcgmwZN0iI89WjqpClMMf5/EpnEioaRJOBCKw5m 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