From patchwork Fri Oct 4 05:22:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 20824 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f71.google.com (mail-vb0-f71.google.com [209.85.212.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2CAA728EAE for ; Fri, 4 Oct 2013 05:22:58 +0000 (UTC) Received: by mail-vb0-f71.google.com with SMTP id g17sf6699337vbg.6 for ; Thu, 03 Oct 2013 22:22:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mime-version:in-reply-to:references :date:message-id:subject:from:to:cc:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=4rnvmEh1k72kBmDjdzx64UKsrijrLAF98hFQ0m4z+mY=; b=Lz4NFgbwGFkjtLjVFUv0hotd8rJY9Tx5pvuC+Qp7sX3COXBXT5TVYE6RP8rUucCc3h Q4F3COK9u87TKKHGWPfTcS1Tkywc+WBjG5AvhQMtVRjEbsAdx4FLumtcH2rpbe5LNZMD i8RO6RXqn4PJ3O1qoaMboDlk2HHOgFPf5l3JtHZQ/cl8jDDwisr54YX7vzcW9lyWDQN/ lr53bFXXovsIVlMCiR7ZsQsr3r/LwE/xd6FVgSkVJ5iw+lyNY6NLKA/iDEbUuo9cnPIy jffRGMaacK9XOLtqMi6D5GgJxc/icOiHONARlCM5PZYbjBIl7Pb1jr/rmWhrQajqrT1E JQTg== X-Received: by 10.224.111.201 with SMTP id t9mr18981424qap.8.1380864178266; Thu, 03 Oct 2013 22:22:58 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.13.9 with SMTP id d9ls502069qec.26.gmail; Thu, 03 Oct 2013 22:22:58 -0700 (PDT) X-Received: by 10.58.161.116 with SMTP id xr20mr10713900veb.2.1380864178128; Thu, 03 Oct 2013 22:22:58 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id sc5si2749273vdc.113.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 22:22:58 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.172 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.172; Received: by mail-vc0-f172.google.com with SMTP id hu8so1547758vcb.3 for ; Thu, 03 Oct 2013 22:22:58 -0700 (PDT) X-Gm-Message-State: ALoCoQl0ztY1X61V1bgXp4WEh8ByJ2tdKiTujDQgoMZWltYCwEviPcOv1hYT8ZObZlsx5lbCEZNP X-Received: by 10.52.187.138 with SMTP id fs10mr8751293vdc.10.1380864177977; Thu, 03 Oct 2013 22:22:57 -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.220.174.196 with SMTP id u4csp12098vcz; Thu, 3 Oct 2013 22:22:57 -0700 (PDT) X-Received: by 10.49.50.232 with SMTP id f8mr14470478qeo.63.1380864176942; Thu, 03 Oct 2013 22:22:56 -0700 (PDT) Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) by mx.google.com with ESMTPS id k1si4600969qeo.128.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 22:22:56 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.216.179 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.216.179; Received: by mail-qc0-f179.google.com with SMTP id l4so2372172qcv.38 for ; Thu, 03 Oct 2013 22:22:56 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.224.10.202 with SMTP id q10mr15316859qaq.8.1380864176390; Thu, 03 Oct 2013 22:22:56 -0700 (PDT) Received: by 10.49.119.37 with HTTP; Thu, 3 Oct 2013 22:22:56 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Oct 2013 10:52:56 +0530 Message-ID: Subject: Re: [PATCH 038/228] cpufreq: sa11x0: Expose frequency table From: Viresh Kumar To: Olof Johansson , "Rafael J. Wysocki" Cc: Lists linaro-kernel , "linux-pm@vger.kernel.org" , Patch Tracking , "linux-kernel@vger.kernel.org" , "cpufreq@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.172 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: , On 4 October 2013 08:23, Olof Johansson wrote: > This causes breakage in linux-next for any SA1100 target: > > In file included from ../../arch/arm/mach-sa1100/irq.c:24:0: > ../../arch/arm/mach-sa1100/generic.h:24:39: error: array type has > incomplete element type > extern struct cpufreq_frequency_table sa11x0_freq_table[]; Ahh... sorry!! Below diff fixes it.. @Rafael: Please merge the attached fixup patch with $SUBJECT patch. ------x--------------x----------- commit d2e1eb969ebdb66e3cc199fbbbe2e2a1a8e2960b Author: Viresh Kumar Date: Fri Oct 4 10:48:16 2013 +0530 fixup! cpufreq: sa11x0: Expose frequency table --- arch/arm/mach-sa1100/generic.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/mach-sa1100/generic.h b/arch/arm/mach-sa1100/generic.h index f5214ce..2d9bee0 100644 --- a/arch/arm/mach-sa1100/generic.h +++ b/arch/arm/mach-sa1100/generic.h @@ -3,6 +3,7 @@ * * Author: Nicolas Pitre */ +#include #include extern void sa1100_timer_init(void); @@ -19,8 +20,6 @@ extern void sa11x0_init_late(void); extern void sa1110_mb_enable(void); extern void sa1110_mb_disable(void); -struct cpufreq_policy; - extern struct cpufreq_frequency_table sa11x0_freq_table[]; extern unsigned int sa11x0_freq_to_ppcr(unsigned int khz); extern int sa11x0_verify_speed(struct cpufreq_policy *policy);