From patchwork Tue Dec 31 08:30:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 22828 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 44275218C0 for ; Tue, 31 Dec 2013 08:34:20 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kp14sf34330650pab.2 for ; Tue, 31 Dec 2013 00:34:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=kEglKBZmmnxKqeOtNfHM1/wcB2hafmMIXT3iYAIo7pE=; b=exc9yCSLlfQVtKwLayTOq3op0iGTfOs0emWRNmavtry4T5qVk0B0UwqwWoHnKwUAEJ SzarJv66klftl456o2e+undapZiviPh3rpVW3eWX3FIrDb6urFBa8ROZYZOJPZVNSP8t ZV0z0++4CI83GuQddc9AiReLj0w0ff5f9NPYllmZt+lTnjb3+oandqPtbxv760gLNb1L 7ujPV5KIlWLLorKcdHM3wdAH3YOg0RYKhti5/qQrOrna29HnwwgjabG+U0zfKNQuBxq+ tRQEG8y4hUGDtVwPG0Skdj7TjNgIBQ1mTZA+DdySZfRacjmHCgjsu49rNZw9/W/dahNn offQ== X-Gm-Message-State: ALoCoQk976IfUIj/HPFBcPk6q9Q+amyjRF7OWdRd9yU0PrNDcylmC1vO+BhDt5nqskLsz06NOdcU X-Received: by 10.67.21.225 with SMTP id hn1mr24606068pad.8.1388478860129; Tue, 31 Dec 2013 00:34:20 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.36.161 with SMTP id r1ls3666867qej.71.gmail; Tue, 31 Dec 2013 00:34:20 -0800 (PST) X-Received: by 10.58.178.239 with SMTP id db15mr39605931vec.9.1388478860000; Tue, 31 Dec 2013 00:34:20 -0800 (PST) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id 1si18631190vel.150.2013.12.31.00.34.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 31 Dec 2013 00:34:19 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.177; Received: by mail-ve0-f177.google.com with SMTP id db12so6256498veb.22 for ; Tue, 31 Dec 2013 00:34:19 -0800 (PST) X-Received: by 10.220.53.135 with SMTP id m7mr39034521vcg.12.1388478859595; Tue, 31 Dec 2013 00:34:19 -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.59.13.131 with SMTP id ey3csp651433ved; Tue, 31 Dec 2013 00:34:19 -0800 (PST) X-Received: by 10.68.226.200 with SMTP id ru8mr74340535pbc.77.1388478858632; Tue, 31 Dec 2013 00:34:18 -0800 (PST) Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by mx.google.com with ESMTPS id nu5si35993205pbc.268.2013.12.31.00.34.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 31 Dec 2013 00:34:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.48 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.48; Received: by mail-pb0-f48.google.com with SMTP id md12so12429046pbc.35 for ; Tue, 31 Dec 2013 00:34:18 -0800 (PST) X-Received: by 10.66.191.42 with SMTP id gv10mr15537212pac.125.1388478858005; Tue, 31 Dec 2013 00:34:18 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id g6sm113723358pat.2.2013.12.31.00.34.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 31 Dec 2013 00:34:17 -0800 (PST) From: Sachin Kamat To: linux-spi@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, broonie@kernel.org, kgene.kim@samsung.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/1] spi: s3c24xx: Remove reference to plat/fiq.h Date: Tue, 31 Dec 2013 14:00:39 +0530 Message-Id: <1388478639-25279-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.177 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: , fiq.h contains only a function declaration and is not used by anyone else. Move the declaration to the driver header file and remove the unnecessary platform dependency from the driver. Signed-off-by: Sachin Kamat --- arch/arm/plat-samsung/include/plat/fiq.h | 13 ------------- drivers/spi/spi-s3c24xx.c | 2 -- include/linux/spi/s3c24xx.h | 2 ++ 3 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 arch/arm/plat-samsung/include/plat/fiq.h diff --git a/arch/arm/plat-samsung/include/plat/fiq.h b/arch/arm/plat-samsung/include/plat/fiq.h deleted file mode 100644 index 535d06a35628..000000000000 --- a/arch/arm/plat-samsung/include/plat/fiq.h +++ /dev/null @@ -1,13 +0,0 @@ -/* linux/arch/arm/plat-samsung/include/plat/fiq.h - * - * Copyright (c) 2009 Simtec Electronics - * Ben Dooks - * - * Header file for S3C24XX CPU FIQ support - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. -*/ - -extern int s3c24xx_set_fiq(unsigned int irq, bool on); diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c index 2ccb28d57ba9..746424aa5353 100644 --- a/drivers/spi/spi-s3c24xx.c +++ b/drivers/spi/spi-s3c24xx.c @@ -29,7 +29,6 @@ #include -#include #include #include "spi-s3c24xx-fiq.h" @@ -84,7 +83,6 @@ struct s3c24xx_spi { struct s3c2410_spi_info *pdata; }; - #define SPCON_DEFAULT (S3C2410_SPCON_MSTR | S3C2410_SPCON_SMOD_INT) #define SPPIN_DEFAULT (S3C2410_SPPIN_KEEP) diff --git a/include/linux/spi/s3c24xx.h b/include/linux/spi/s3c24xx.h index c23b923e493b..ca271c06c591 100644 --- a/include/linux/spi/s3c24xx.h +++ b/include/linux/spi/s3c24xx.h @@ -23,4 +23,6 @@ struct s3c2410_spi_info { void (*set_cs)(struct s3c2410_spi_info *spi, int cs, int pol); }; +extern int s3c24xx_set_fiq(unsigned int irq, bool on); + #endif /* __LINUX_SPI_S3C24XX_H */