From patchwork Mon Mar 30 10:39:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 6119871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7A6119F349 for ; Mon, 30 Mar 2015 10:42:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9C995203B0 for ; Mon, 30 Mar 2015 10:42:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D1DC12021A for ; Mon, 30 Mar 2015 10:42:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YcX7n-0000O2-Ir; Mon, 30 Mar 2015 10:40:55 +0000 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YcX70-0007MX-Iu for linux-arm-kernel@lists.infradead.org; Mon, 30 Mar 2015 10:40:07 +0000 Received: by wibg7 with SMTP id g7so88100924wib.1 for ; Mon, 30 Mar 2015 03:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Bt6OJF2pWtqKzK3v5ck9D/54des267Y7H0GjbBHSq+4=; b=pxfBOe8eoSG5FZeAX/cpS8Fe8dQD9l29/aT5DMiNJbK7gJk+dv341jtW+SecUAnbV+ Z8wRtwniY7cAx3TAoASZ59xijc0fI2woxn24HNKgyBJBce8tNS6eF5hp7nyHeOh/WFjt TMZIcGvaQ9Xj0U/2qhi/Mgegye+Ko4/RjmsE6N8UogOS9kx9HL6K63TvS1woh39rUFVM djSroJEyfyABwyIT47MQzkKguXzgZeSMkRvDOM2Vy6BKN3uUrs0Wk2iJcu2rD3ItxfG1 Z+2e4i0Vi7jOKN+J1RSkFVLY6oN+7A5OZFE/3nmwSRPEr6gB9QNYDN8C7hNg8iAGhu50 8JZQ== X-Received: by 10.180.24.233 with SMTP id x9mr21715723wif.9.1427711984600; Mon, 30 Mar 2015 03:39:44 -0700 (PDT) Received: from fangorn.rup.mentorg.com (nat-min.mentorg.com. [139.181.32.34]) by mx.google.com with ESMTPSA id cf12sm15149427wjb.10.2015.03.30.03.39.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2015 03:39:43 -0700 (PDT) From: Dmitry Eremin-Solenikov To: Robert Jarzmik Subject: [PATCH 3/3] ARM: pxa: declare battery device on poodle Date: Mon, 30 Mar 2015 13:39:31 +0300 Message-Id: <1427711971-8164-3-git-send-email-dbaryshkov@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1427711971-8164-1-git-send-email-dbaryshkov@gmail.com> References: <1427711971-8164-1-git-send-email-dbaryshkov@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150330_034006_814872_CAEF7D28 X-CRM114-Status: UNSURE ( 9.43 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-arm-kernel@lists.infradead.org, Haojian Zhuang , Daniel Mack X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Declare a battery platform device for SL-5600 (poodle) platform. Signed-off-by: Dmitry Eremin-Solenikov --- arch/arm/mach-pxa/poodle.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/mach-pxa/poodle.c b/arch/arm/mach-pxa/poodle.c index 596e756..90d679a 100644 --- a/arch/arm/mach-pxa/poodle.c +++ b/arch/arm/mach-pxa/poodle.c @@ -466,6 +466,11 @@ static struct platform_device poodle_power_device = { .dev.platform_data = &poodle_power_data, }; +static struct platform_device poodle_battery_device = { + .name = "poodle-battery", + .id = -1, +}; + static struct platform_device *devices[] __initdata = { &poodle_locomo_device, &poodle_scoop_device, @@ -474,6 +479,7 @@ static struct platform_device *devices[] __initdata = { &sharpsl_nand_device, &sharpsl_rom_device, &poodle_power_device, + &poodle_battery_device, }; static struct i2c_board_info __initdata poodle_i2c_devices[] = {