From patchwork Fri Aug 28 21:37:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 7093801 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 17B9E9F46B for ; Fri, 28 Aug 2015 21:37:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 401CE20863 for ; Fri, 28 Aug 2015 21:37:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0E788208DD for ; Fri, 28 Aug 2015 21:37:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752829AbbH1VhX (ORCPT ); Fri, 28 Aug 2015 17:37:23 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:36341 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752824AbbH1VhW (ORCPT ); Fri, 28 Aug 2015 17:37:22 -0400 Received: from localhost.localdomain (d99-199-108-128.bchsia.telus.net [99.199.108.128]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id 6415620066; Fri, 28 Aug 2015 23:35:33 +0200 (CEST) From: Laurent Pinchart To: linux-sh@vger.kernel.org Cc: Simon Horman , Magnus Damm , Geert Uytterhoeven Subject: [PATCH 3/3] ARM: shmobile: Remove legacy clock support leftovers Date: Sat, 29 Aug 2015 00:37:17 +0300 Message-Id: <1440797837-25516-4-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1440797837-25516-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> References: <1440797837-25516-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 The shmobile_clk_init() function has been removed and the linux/sh_clk.h header doesn't need to be included anymore. Signed-off-by: Laurent Pinchart --- arch/arm/mach-shmobile/common.h | 2 -- arch/arm/mach-shmobile/r8a7779.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arm/mach-shmobile/common.h b/arch/arm/mach-shmobile/common.h index 65d6ddef0f50..dc5748bcdbe1 100644 --- a/arch/arm/mach-shmobile/common.h +++ b/arch/arm/mach-shmobile/common.h @@ -15,8 +15,6 @@ extern void shmobile_boot_scu(void); extern void shmobile_smp_scu_prepare_cpus(unsigned int max_cpus); extern void shmobile_smp_scu_cpu_die(unsigned int cpu); extern int shmobile_smp_scu_cpu_kill(unsigned int cpu); -struct clk; -extern int shmobile_clk_init(void); extern struct platform_suspend_ops shmobile_suspend_ops; #ifdef CONFIG_SUSPEND diff --git a/arch/arm/mach-shmobile/r8a7779.h b/arch/arm/mach-shmobile/r8a7779.h index db303f76704e..aad833a8f0b8 100644 --- a/arch/arm/mach-shmobile/r8a7779.h +++ b/arch/arm/mach-shmobile/r8a7779.h @@ -1,8 +1,6 @@ #ifndef __ASM_R8A7779_H__ #define __ASM_R8A7779_H__ -#include - extern void r8a7779_pm_init(void); #ifdef CONFIG_PM