From patchwork Wed Nov 12 00:25:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Bellows X-Patchwork-Id: 40618 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C3E79205DF for ; Wed, 12 Nov 2014 00:27:28 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id n3sf1305886wiv.5 for ; Tue, 11 Nov 2014 16:27:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=u0P3L2h1YO5vdc00jGbOIenakRmu4i2OSCxM17v/28Q=; b=nAZ4R2P5yPN3wFdQIKgG58sj+d5wNyKAQiHCshkSsNK/WfEp43cqPHBsKk0db2ehrG 4lCvk2Ijatggmk0e84YkKRH+IoqefUDGJXXPBt1IKuQ0VsEkjqQpu/O0YJnhNKGlWMzy PdkC2NMB0+v4BpQ0LhJNgxN6qyyzFj0puy9U1/fTAygVi8NX0Z45RCWylKQ5AYDbopAP 3H1n9ELDEdwyAHs9nby2j8SVYchm6oFLaZ+VPUuN+bvJvztOUCzsAe7HFX9wESnce+qr iLouTsw7lmOu+pUIEEFxDhXBGjbOht59o87wen7wiiiEAHV0QBEmv6858pbZw9s45IAB kLfg== X-Gm-Message-State: ALoCoQmVtSksAptUjV6RPByHijVzfsNwKhe+t3+B9jSGMTQzDZITWgWRoBxHkM3JhwIja8b2YXOP X-Received: by 10.181.13.80 with SMTP id ew16mr4124080wid.4.1415752048115; Tue, 11 Nov 2014 16:27:28 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.80 with SMTP id be16ls507977lab.97.gmail; Tue, 11 Nov 2014 16:27:27 -0800 (PST) X-Received: by 10.112.171.6 with SMTP id aq6mr39143892lbc.28.1415752047598; Tue, 11 Nov 2014 16:27:27 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id x8si3913760lbb.86.2014.11.11.16.27.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Nov 2014 16:27:27 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id z11so1736603lbi.39 for ; Tue, 11 Nov 2014 16:27:27 -0800 (PST) X-Received: by 10.112.73.103 with SMTP id k7mr39132261lbv.41.1415752047476; Tue, 11 Nov 2014 16:27:27 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp347113lbc; Tue, 11 Nov 2014 16:27:26 -0800 (PST) X-Received: by 10.140.48.233 with SMTP id o96mr54511524qga.47.1415752045837; Tue, 11 Nov 2014 16:27:25 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id x15si39256129qae.69.2014.11.11.16.27.25 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Nov 2014 16:27:25 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:51537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoLmO-0002xa-Ry for patch@linaro.org; Tue, 11 Nov 2014 19:27:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoLlQ-00024H-9L for qemu-devel@nongnu.org; Tue, 11 Nov 2014 19:26:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoLlJ-0008S0-L1 for qemu-devel@nongnu.org; Tue, 11 Nov 2014 19:26:24 -0500 Received: from mail-ob0-f178.google.com ([209.85.214.178]:61486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoLlJ-0008Rw-GZ for qemu-devel@nongnu.org; Tue, 11 Nov 2014 19:26:17 -0500 Received: by mail-ob0-f178.google.com with SMTP id vb8so8412805obc.9 for ; Tue, 11 Nov 2014 16:26:17 -0800 (PST) X-Received: by 10.182.20.15 with SMTP id j15mr5004658obe.52.1415751976970; Tue, 11 Nov 2014 16:26:16 -0800 (PST) Received: from gbellows-linaro.bellowshome.net (99-179-1-128.lightspeed.austtx.sbcglobal.net. [99.179.1.128]) by mx.google.com with ESMTPSA id d3sm6239765obs.18.2014.11.11.16.26.16 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Nov 2014 16:26:16 -0800 (PST) From: Greg Bellows To: qemu-devel@nongnu.org, peter.maydell@linaro.org, christoffer.dall@linaro.org, alex.bennee@linaro.org Date: Tue, 11 Nov 2014 18:25:49 -0600 Message-Id: <1415751963-4081-2-git-send-email-greg.bellows@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1415751963-4081-1-git-send-email-greg.bellows@linaro.org> References: <1415751963-4081-1-git-send-email-greg.bellows@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.214.178 Cc: Greg Bellows Subject: [Qemu-devel] [PATCH v1 01/15] android-console: Fix goldfish audio misnaming X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: greg.bellows@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Replaced goldfish_audio misnaming to goldfish_battery where appropriate in goldfish_battery.c Signed-off-by: Greg Bellows --- hw/misc/goldfish_battery.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hw/misc/goldfish_battery.c b/hw/misc/goldfish_battery.c index 03847d6..89fd05d 100644 --- a/hw/misc/goldfish_battery.c +++ b/hw/misc/goldfish_battery.c @@ -121,7 +121,7 @@ static void goldfish_battery_write(void *opaque, hwaddr offset, uint64_t val, break; default: - error_report ("goldfish_audio_write: Bad offset " TARGET_FMT_plx, + error_report("goldfish_battery_write: Bad offset " TARGET_FMT_plx, offset); } } @@ -161,16 +161,16 @@ static void goldfish_battery_class_init(ObjectClass *klass, void *data) dc->desc = "goldfish battery"; } -static const TypeInfo goldfish_audio_info = { +static const TypeInfo goldfish_battery_info = { .name = TYPE_GOLDFISH_BATTERY, .parent = TYPE_SYS_BUS_DEVICE, .instance_size = sizeof(struct goldfish_battery_state), .class_init = goldfish_battery_class_init, }; -static void goldfish_audio_register(void) +static void goldfish_battery_register(void) { - type_register_static(&goldfish_audio_info); + type_register_static(&goldfish_battery_info); } -type_init(goldfish_audio_register); +type_init(goldfish_battery_register);