From patchwork Sat Feb 16 18:16:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Adami X-Patchwork-Id: 2152381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id ED7F83FDF1 for ; Sat, 16 Feb 2013 18:19:27 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U6mJ1-00062w-Vi; Sat, 16 Feb 2013 18:16:11 +0000 Received: from mail-ee0-f46.google.com ([74.125.83.46]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U6mIy-00062d-R1 for linux-arm-kernel@lists.infradead.org; Sat, 16 Feb 2013 18:16:09 +0000 Received: by mail-ee0-f46.google.com with SMTP id e49so2258812eek.19 for ; Sat, 16 Feb 2013 10:16:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=fGIWeUtNxIpwj6W+XJ0Opv6IgSF3ZBTzoPCZBkTWyJg=; b=uATOdCkCaLZZLivr/3qroGk8PH3TihJLa+jFdiLzJPRQNMsDxNO2imeAn0RDY53V/J g065uEE14+G4myXwVON1raW3XIZnqERa4Lt8lj6K5ECVOIqure5Wy00x5J1AFRkabfWf SQOimo9egujX9N6zOJw6cZsuxUkaYV7KfxZN8EoqOjXKmbeF3Q6ngX1h37wCVeDwztZy ZpfvP79uxf3oSg1vh8jl4jfPQen4WN7bPgic0Hmf71NRNW8wZh7Q+agNiScEYEv4OEQn Y5Vzm/EiOcBmCpzLFrW/ao6vHu0PTrQg0VhQJUm9lOuAEIold/PPwageB0OfB576NA+6 +STw== X-Received: by 10.14.204.3 with SMTP id g3mr23087080eeo.27.1361038564131; Sat, 16 Feb 2013 10:16:04 -0800 (PST) Received: from mizar.localdomain (host184-250-dynamic.1-79-r.retail.telecomitalia.it. [79.1.250.184]) by mx.google.com with ESMTPS id q42sm80377059eem.14.2013.02.16.10.16.01 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 16 Feb 2013 10:16:02 -0800 (PST) From: Andrea Adami To: Anton Vorontsov Subject: [RFC] ARM: sa1100: collie-battery.c: include platform_device.h directly Date: Sat, 16 Feb 2013 19:16:00 +0100 Message-Id: <1361038560-3690-1-git-send-email-andrea.adami@gmail.com> X-Mailer: git-send-email 1.7.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130216_131609_023550_124BE216 X-CRM114-Status: GOOD ( 11.32 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (andrea.adami[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.83.46 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Russell King , linux-arm-kernel@lists.infradead.org, Arnd Bergmann , linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Initial try to fix compilation error linux/include/linux/mfd/mcp.h:22:16: error: field 'attached_device' has incomplete type linux/include/linux/mfd/mcp.h:48:23: error: field 'drv' has incomplete type linux/include/linux/mfd/ucb1x00.h:137:17: error: field 'dev' has incomplete type linux/drivers/power/collie_battery.c:290:56: error: unknown type name 'pm_message_t' linux/drivers/power/collie_battery.c:371:13: error: 'collie_bat_suspend' undeclared here (not in a function) | make[4]: *** [drivers/power/collie_battery.o] Error 1 | make[3]: *** [drivers/power] Error 2 As seen in Arnd Bergmann patches on LAKML [PATCH 7/9] ARM defconfigs: add missing inclusions of linux/platform_device.h [PATCH 1/9] ARM: sa1100/assabet: include platform_device.h directly Compilation is still not clean, two warnings: linux/drivers/power/collie_battery.c:372:2: warning: initialization from incompatible pointer type [enabled by default] linux/drivers/power/collie_battery.c:372:2: warning: (near initialization for 'collie_bat_driver.suspend') [enabled by default] Signed-off-by: Andrea Adami --- drivers/power/collie_battery.c | 1 + drivers/video/logo/logo_linux_clut224.ppm | 232006 ++++++++++++++++++++++++++- 2 files changed, 230404 insertions(+), 1603 deletions(-) diff --git a/drivers/power/collie_battery.c b/drivers/power/collie_battery.c index c58d0e3..52cbab3 100644 --- a/drivers/power/collie_battery.c +++ b/drivers/power/collie_battery.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include