From patchwork Wed Jun 12 13:08:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 17831 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 56E0623903 for ; Wed, 12 Jun 2013 13:09:06 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id w10sf4347428lbi.8 for ; Wed, 12 Jun 2013 06:09:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=n88QKJ7lIiv/fQ8hi85zf3rzAmUVjvBl4DgAcm9RkVk=; b=YlX287cxL+CRFJ+N8AHfvUhfatu2Pd2Gejwl78oKefZ/LvAhuqvjBmnS1plFMX2Dl5 z+B01HTpjX9kfNhV4cBC4u0kavat26TGlWNFG8AeRJgV8cbGtGMR+Dtl68SANSqnBmS6 OuWjPHa/Q+i7Ac0kQ9YjH5dU1rN4JthMa88keTDe2I6mtY4XWh0KwIXHRX7K3q/UMBqv +ZcFghGs6h3Y7wN7cKAKYXNJu4eefzgqYPWr4m+7uaG1vQxpCjep5Rpg68On1iPtAlK/ 552sO/txhtpy0g37eBcGvuJgnQceZr7/7oILMUNpczMBTDWYtoFRxFFNFACIAGmFFccX mcZA== X-Received: by 10.180.37.143 with SMTP id y15mr351414wij.2.1371042544200; Wed, 12 Jun 2013 06:09:04 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.180.89.103 with SMTP id bn7ls125672wib.36.canary; Wed, 12 Jun 2013 06:09:04 -0700 (PDT) X-Received: by 10.180.36.205 with SMTP id s13mr4460166wij.31.1371042544033; Wed, 12 Jun 2013 06:09:04 -0700 (PDT) Received: from mail-ve0-x234.google.com (mail-ve0-x234.google.com [2607:f8b0:400c:c01::234]) by mx.google.com with ESMTPS id p7si849090wiw.47.2013.06.12.06.09.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 06:09:04 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::234; Received: by mail-ve0-f180.google.com with SMTP id pa12so6563424veb.25 for ; Wed, 12 Jun 2013 06:09:03 -0700 (PDT) X-Received: by 10.58.22.74 with SMTP id b10mr9651055vef.47.1371042542939; Wed, 12 Jun 2013 06:09:02 -0700 (PDT) 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.58.191.99 with SMTP id gx3csp143390vec; Wed, 12 Jun 2013 06:09:02 -0700 (PDT) X-Received: by 10.180.211.197 with SMTP id ne5mr4384578wic.54.1371042541997; Wed, 12 Jun 2013 06:09:01 -0700 (PDT) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [2a00:1450:400c:c00::235]) by mx.google.com with ESMTPS id uc7si3138435wjc.98.2013.06.12.06.09.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 06:09:01 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:400c:c00::235 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=2a00:1450:400c:c00::235; Received: by mail-wg0-f53.google.com with SMTP id y10so4425567wgg.8 for ; Wed, 12 Jun 2013 06:09:01 -0700 (PDT) X-Received: by 10.194.216.39 with SMTP id on7mr11723581wjc.4.1371042541601; Wed, 12 Jun 2013 06:09:01 -0700 (PDT) Received: from mai.home (AToulouse-654-1-404-219.w82-125.abo.wanadoo.fr. [82.125.3.219]) by mx.google.com with ESMTPSA id x13sm24555864wib.3.2013.06.12.06.08.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Jun 2013 06:09:00 -0700 (PDT) From: Daniel Lezcano To: rjw@sisk.pl Cc: linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, patches@linaro.org Subject: [PATCH 5/8] cpuidle: Add missing forward declaration Date: Wed, 12 Jun 2013 15:08:52 +0200 Message-Id: <1371042535-22630-5-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1371042535-22630-1-git-send-email-daniel.lezcano@linaro.org> References: <1371042535-22630-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQlDVLL2T++QLZYwLa3zEk0ioVXd3RWeQnCBixqGpjutJvV8xBoDXeq28p7D/3Jw62q6upfT X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::234 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: , The forward declaration for the cpuidle_state_kobj and the cpuidle_driver_kobj structures are missing. Let's add them. Signed-off-by: Daniel Lezcano --- include/linux/cpuidle.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index b922db5..781addc 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h @@ -60,6 +60,8 @@ struct cpuidle_state { #define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) struct cpuidle_device_kobj; +struct cpuidle_state_kobj; +struct cpuidle_driver_kobj; struct cpuidle_device { unsigned int registered:1;