From patchwork Wed Jul 2 08:47:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 32954 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pd0-f197.google.com (mail-pd0-f197.google.com [209.85.192.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 65D7020560 for ; Wed, 2 Jul 2014 08:48:31 +0000 (UTC) Received: by mail-pd0-f197.google.com with SMTP id fp1sf50797451pdb.4 for ; Wed, 02 Jul 2014 01:48:30 -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:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=C6USEVpceF2TIp5pRwPNCluLKkhVq4FVvnVJpYOvzpQ=; b=Q6nYbTgojCKz1BeODyQbHXdM/2nyaexZjG5kb2BISXY6V+JIBtOeS2I2oyr+6KxmsM e69gkne+2pUSLX9zw0SvYjaJBa398V2LiHYNBFvaFRZ4ou6j8TYjQEpuf7b1eJ92B5yz wGf+b1l8WSCWZVO8dTDvmfd8iTS8elxNSFt7fjuGamBN1/GzjEjL6tv6UukruQg48Tc3 nURrg52FiJAWVreY95gHcdXozCQWulIPDGVrggm+diYB8678pmqZ0rJXPxCrTsSPunCZ C5o4pkzq7A1FHWRDQ/PFpbujd5jDUMjvnPk0pjBCGgX2H5GwklyLW+QqrbFqXusSWA0X rhpg== X-Gm-Message-State: ALoCoQn56IGT/TdzVSwIENo8nBoBV+0XPCNwkCZ4tNsuOtJE0ce/y/Vp+QpCmnFB6zZpui4QIuQt X-Received: by 10.66.236.136 with SMTP id uu8mr976701pac.13.1404290910647; Wed, 02 Jul 2014 01:48:30 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.114 with SMTP id b105ls2355172qgd.16.gmail; Wed, 02 Jul 2014 01:48:30 -0700 (PDT) X-Received: by 10.58.151.68 with SMTP id uo4mr47211667veb.11.1404290910492; Wed, 02 Jul 2014 01:48:30 -0700 (PDT) Received: from mail-vc0-f176.google.com (mail-vc0-f176.google.com [209.85.220.176]) by mx.google.com with ESMTPS id sv16si12600393vdb.55.2014.07.02.01.48.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Jul 2014 01:48:30 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 as permitted sender) client-ip=209.85.220.176; Received: by mail-vc0-f176.google.com with SMTP id ik5so10006517vcb.21 for ; Wed, 02 Jul 2014 01:48:30 -0700 (PDT) X-Received: by 10.220.166.9 with SMTP id k9mr48569634vcy.20.1404290910407; Wed, 02 Jul 2014 01:48:30 -0700 (PDT) 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.221.37.5 with SMTP id tc5csp277245vcb; Wed, 2 Jul 2014 01:48:30 -0700 (PDT) X-Received: by 10.68.57.228 with SMTP id l4mr7442079pbq.84.1404290909712; Wed, 02 Jul 2014 01:48:29 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fu6si29617878pac.106.2014.07.02.01.48.29; Wed, 02 Jul 2014 01:48:29 -0700 (PDT) Received-SPF: none (google.com: linux-omap-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751447AbaGBIsY (ORCPT + 6 others); Wed, 2 Jul 2014 04:48:24 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:39745 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbaGBIsQ (ORCPT ); Wed, 2 Jul 2014 04:48:16 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s628lqU3026463; Wed, 2 Jul 2014 03:47:52 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s628lqNB013424; Wed, 2 Jul 2014 03:47:52 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.174.1; Wed, 2 Jul 2014 03:47:52 -0500 Received: from localhost.localdomain (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s628lOXj007645; Wed, 2 Jul 2014 03:47:51 -0500 From: Tero Kristo To: , , , CC: Subject: [PATCH 13/13] ARM: OMAP2+: clock/interface: remove some headers from clkt_iclk.c file Date: Wed, 2 Jul 2014 11:47:47 +0300 Message-ID: <1404290867-6768-14-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1404290867-6768-1-git-send-email-t-kristo@ti.com> References: <1404290867-6768-1-git-send-email-t-kristo@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: t-kristo@ti.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.176 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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Instead, copy the used constants from the header file to the source file. This allows the code to be migrated under drivers folder where we don't have access to the OMAP specific header files. Signed-off-by: Tero Kristo --- arch/arm/mach-omap2/clkt_iclk.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/clkt_iclk.c b/arch/arm/mach-omap2/clkt_iclk.c index 333f0a6..55eb579 100644 --- a/arch/arm/mach-omap2/clkt_iclk.c +++ b/arch/arm/mach-omap2/clkt_iclk.c @@ -14,11 +14,11 @@ #include #include - #include "clock.h" -#include "clock2xxx.h" -#include "cm2xxx_3xxx.h" -#include "cm-regbits-24xx.h" + +/* Register offsets */ +#define CM_AUTOIDLE 0x30 +#define CM_ICLKEN 0x10 /* Private functions */