From patchwork Wed Feb 5 00:08:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 24155 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f197.google.com (mail-yk0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 70E4A202FA for ; Wed, 5 Feb 2014 00:09:31 +0000 (UTC) Received: by mail-yk0-f197.google.com with SMTP id 20sf55073668yks.0 for ; Tue, 04 Feb 2014 16:09:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=3MYhNoHA5Pyhe6witfNfU0qq/mT88dWexOJhF+hytf4=; b=Zvxka9bNGekngCjDvvDxvkEX1Nmd7xCBUscQux5T62HSfzP4juM+Tke+SvLVsaUsoP U9Y+HoKzNa378sVAr6DA9yWPQcR4eHQDIhBJf92aj3MXcQNx9buZmMuYz860NoQsschk cJfMfNyg08vvsJCQ7fNtne3XdhiknBIkrWdTljO7rSPz4JY4M3BYxCWUyycoDp02T8HD JBr6inmYnHyAso3cwfPgMQebfflNo89JAJsWMOSIZk+qXp7DZV1M3LKKyn/PkWV+vXj4 fhe3P55vBwRbiP4aVu8GLPr0Z26fN7qY4Tcj0qtAlSTCA6S5xJ+1idlhncd8y9ujAvzI ldbA== X-Gm-Message-State: ALoCoQlCb419hKOjrgC+V3FRowQ89zBv/QdrQt7pwpyJUw6sUruPxcryDkNAn2U3HDlg+DAs5O56 X-Received: by 10.58.230.72 with SMTP id sw8mr15003560vec.5.1391558970227; Tue, 04 Feb 2014 16:09:30 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.109.101 with SMTP id k92ls262738qgf.78.gmail; Tue, 04 Feb 2014 16:09:30 -0800 (PST) X-Received: by 10.220.2.199 with SMTP id 7mr34863101vck.4.1391558970134; Tue, 04 Feb 2014 16:09:30 -0800 (PST) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id y3si8978201vdo.6.2014.02.04.16.09.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 16:09:30 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ld13so6372318vcb.18 for ; Tue, 04 Feb 2014 16:09:30 -0800 (PST) X-Received: by 10.221.40.10 with SMTP id to10mr8194832vcb.22.1391558970044; Tue, 04 Feb 2014 16:09:30 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp4099vcz; Tue, 4 Feb 2014 16:09:29 -0800 (PST) X-Received: by 10.68.170.66 with SMTP id ak2mr46871139pbc.5.1391558964321; Tue, 04 Feb 2014 16:09:24 -0800 (PST) Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by mx.google.com with ESMTPS id sz7si26595883pab.174.2014.02.04.16.09.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 16:09:24 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.44 is neither permitted nor denied by best guess record for domain of john.stultz@linaro.org) client-ip=209.85.220.44; Received: by mail-pa0-f44.google.com with SMTP id kq14so9214028pab.3 for ; Tue, 04 Feb 2014 16:09:23 -0800 (PST) X-Received: by 10.69.30.44 with SMTP id kb12mr47358319pbd.87.1391558963913; Tue, 04 Feb 2014 16:09:23 -0800 (PST) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id g6sm181483447pat.2.2014.02.04.16.09.20 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Feb 2014 16:09:23 -0800 (PST) From: John Stultz To: LKML Cc: John Stultz , Greg KH , Colin Cross , Android Kernel Team Subject: [PATCH 7/7] staging: ion: Fix build warning Date: Tue, 4 Feb 2014 16:08:40 -0800 Message-Id: <1391558920-31590-8-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1391558920-31590-1-git-send-email-john.stultz@linaro.org> References: <1391558920-31590-1-git-send-email-john.stultz@linaro.org> MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add #include to fix the following warning seen with gcc 4.7.3: In file included from drivers/staging/android/ion/ion_heap.c:26:0: drivers/staging/android/ion/ion_priv.h:358:21: warning: ‘struct device’ declared inside parameter list [enabled by default] drivers/staging/android/ion/ion_priv.h:358:21: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] Cc: Greg KH Cc: Colin Cross Cc: Android Kernel Team Signed-off-by: John Stultz --- drivers/staging/android/ion/ion_priv.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion_priv.h b/drivers/staging/android/ion/ion_priv.h index d986739..fc2e4fc 100644 --- a/drivers/staging/android/ion/ion_priv.h +++ b/drivers/staging/android/ion/ion_priv.h @@ -17,6 +17,7 @@ #ifndef _ION_PRIV_H #define _ION_PRIV_H +#include #include #include #include