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: 3421531 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 08FE3C02DD for ; Tue, 31 Dec 2013 08:34:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 263212011B for ; Tue, 31 Dec 2013 08:34:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 393192011E for ; Tue, 31 Dec 2013 08:34:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752119Ab3LaIeT (ORCPT ); Tue, 31 Dec 2013 03:34:19 -0500 Received: from mail-pb0-f42.google.com ([209.85.160.42]:53982 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751496Ab3LaIeT (ORCPT ); Tue, 31 Dec 2013 03:34:19 -0500 Received: by mail-pb0-f42.google.com with SMTP id uo5so12519651pbc.1 for ; Tue, 31 Dec 2013 00:34:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=kEglKBZmmnxKqeOtNfHM1/wcB2hafmMIXT3iYAIo7pE=; b=bBTwc6SDiIDQrHiW1h2oOTPejJpOYtdyr/FNv4pVr/TnnlE6PeRn4la5tlSG9pnKyB G+wBiYL6Xyy8M3XWDkEuDFbr3WVJ1zAgSxSbklTguRKmIhVB9VblGCOulGQLJbEyWwSQ 59a4O0TbFQ+9CgBehB5P6rlbNSZGPumQC7ymxTl5fi5ggLXEeim7qAkN736zQjz6uuGm X7oSVGT7MDE5oAbdIq05edPZ58dzPOvFI4/Urxbu+GgtS+iefoGZJ/14kl5+VFhAj0Er gMnUzMqFAqEtz1irflz3MrT/Ka5JyWz56SYXVle55sgX2y4o1cUoQpm9T9b9kjJeZ8zb IIpQ== X-Gm-Message-State: ALoCoQk+KgTLEiu/6ctn2EeaECDk0KX+XwRpyP0vwSraOzQ54LeWPAc6C5EKGGs6wn5Md4d2l0vE 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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 */