Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3097037imm; Fri, 19 Oct 2018 05:10:48 -0700 (PDT) X-Google-Smtp-Source: ACcGV61a7ZxpZWGzUaV0aDfX20rIC+avjqNgW0QOjiFCaEVoi7EKqwvT0smq17Ovka+t+IZqRYH0 X-Received: by 2002:a62:9fc4:: with SMTP id v65-v6mr34619309pfk.130.1539951048397; Fri, 19 Oct 2018 05:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539951048; cv=none; d=google.com; s=arc-20160816; b=VUagC6XGW8P6lbnLy5bXQbXFeKUSiyN9yB1LYpchTpsQlB2uHgubTchfOXIL1No9Cl SuToPJtg9aYRepQ2JJ17ZM/er9Pt1M8rFzBRcuVC4UYglo6/5ZbydalpOelXUiCmnYe1 rBodM2LohFgvKFn891TYnsNHiL+gAdMa7vsPJQhGsdlsp6f3dSKPsJFHmPR2Z5Sg+uZk sLvk4X22pSobIwpnHsoowO+/vscndzvgSNuTLFreiPiO+3/ZwI57ZpZePGQZxmYdam6M MbNF/gVyqNWfBbdHFVxQOT1Uazfzk+kWipjIfzG49RpF3Fc5T6Xqf9ktG09zG34Nlx0y Hlaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wa8mXHNqTbUu054mBu2kjK6L8KueXUky9nnr1sHKXVs=; b=RiRQU6cjRzYiXHo6vMa1g9XN9+PoIWulvTR22pjJnMc+rXlxnkHkMe0JCAURx0Kc9l kwEQSjAo5oftavA/vqweKv8edcDHxbSL3VQ1oaw5qeX/B0SxkLa67vNoN+d9K0Yrs7to 9eMugtoBqS4SUiRwgZvK+4GlfKovTrQu1W1kOE5tckCGHA0JWT5EZPxPNfKwPBKXMddn n8Zk91kzxsDYN40ju+DEVHu4MUGv+Ej8gP7q0fROBou4HICr668+hZrPfguIq2G/vuXC 9UheF3dpy04SXTgR5dzbxVt3S7BWpkluhv6bOtPg8uohrLcPIMMvtIGhsulSWwe/mv8f rfqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hIuucJV4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y3-v6si22649047pga.500.2018.10.19.05.10.33; Fri, 19 Oct 2018 05:10:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=hIuucJV4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727637AbeJSUPy (ORCPT + 99 others); Fri, 19 Oct 2018 16:15:54 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44122 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726784AbeJSUPy (ORCPT ); Fri, 19 Oct 2018 16:15:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wa8mXHNqTbUu054mBu2kjK6L8KueXUky9nnr1sHKXVs=; b=hIuucJV43asLn2SscvQuG6pFb 51LjdB7NMUgaT3eIagvM5e9ET31GGsN0mgMLSteWt8XFzpkTr3Tr5/WRLdH5C8MpAlvg7m0C6MW9D dDRa53T3xe4e4mz3yIOhIxCivsEWjqqFBmoQnhST6OIdoMmN6aznMRd2I5jevLXUD8nxMtG7ydtF8 c96adbVVB7J/0DgdK8c7TfiT1oCbXnVZIyTXPpc/lH472clTUAL9B/kvkjHl0CbkqS4hi+hrS56B1 Hq7S8OwcdSBPi/A0AZhwzwY/v/bA5k7qzgWempHup4Gl+L+NKDHXIkF7dHuvDOS4Ut4727FcfYsq/ xJjAwP9mw==; Received: from clnet-p19-102.ikbnet.co.at ([83.175.77.102] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gDTbK-0000te-C7; Fri, 19 Oct 2018 12:09:58 +0000 From: Christoph Hellwig To: Masahiro Yamada Cc: Matt Porter , Alexandre Bounine , Dominik Brodowski , linux-kbuild@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-scsi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH 1/9] aha152x: rename the PCMCIA define Date: Fri, 19 Oct 2018 14:09:44 +0200 Message-Id: <20181019120952.32763-2-hch@lst.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181019120952.32763-1-hch@lst.de> References: <20181019120952.32763-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We plan to enable building the PCMCIA core and drivers, and the non-prefixed PCMCIA name clashes with some arch headers. Signed-off-by: Christoph Hellwig Acked-by: Thomas Gleixner --- drivers/scsi/aha152x.c | 14 +++++++------- drivers/scsi/pcmcia/aha152x_core.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index 4d7b0e0adbf7..301b3cad15f8 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c @@ -269,7 +269,7 @@ static LIST_HEAD(aha152x_host_list); /* DEFINES */ /* For PCMCIA cards, always use AUTOCONF */ -#if defined(PCMCIA) || defined(MODULE) +#if defined(AHA152X_PCMCIA) || defined(MODULE) #if !defined(AUTOCONF) #define AUTOCONF #endif @@ -297,7 +297,7 @@ CMD_INC_RESID(struct scsi_cmnd *cmd, int inc) #define DELAY_DEFAULT 1000 -#if defined(PCMCIA) +#if defined(AHA152X_PCMCIA) #define IRQ_MIN 0 #define IRQ_MAX 16 #else @@ -328,7 +328,7 @@ MODULE_AUTHOR("Jürgen Fischer"); MODULE_DESCRIPTION(AHA152X_REVID); MODULE_LICENSE("GPL"); -#if !defined(PCMCIA) +#if !defined(AHA152X_PCMCIA) #if defined(MODULE) static int io[] = {0, 0}; module_param_hw_array(io, int, ioport, NULL, 0); @@ -391,7 +391,7 @@ static struct isapnp_device_id id_table[] = { MODULE_DEVICE_TABLE(isapnp, id_table); #endif /* ISAPNP */ -#endif /* !PCMCIA */ +#endif /* !AHA152X_PCMCIA */ static struct scsi_host_template aha152x_driver_template; @@ -863,7 +863,7 @@ void aha152x_release(struct Scsi_Host *shpnt) if (shpnt->irq) free_irq(shpnt->irq, shpnt); -#if !defined(PCMCIA) +#if !defined(AHA152X_PCMCIA) if (shpnt->io_port) release_region(shpnt->io_port, IO_RANGE); #endif @@ -2924,7 +2924,7 @@ static struct scsi_host_template aha152x_driver_template = { .slave_alloc = aha152x_adjust_queue, }; -#if !defined(PCMCIA) +#if !defined(AHA152X_PCMCIA) static int setup_count; static struct aha152x_setup setup[2]; @@ -3392,4 +3392,4 @@ static int __init aha152x_setup(char *str) __setup("aha152x=", aha152x_setup); #endif -#endif /* !PCMCIA */ +#endif /* !AHA152X_PCMCIA */ diff --git a/drivers/scsi/pcmcia/aha152x_core.c b/drivers/scsi/pcmcia/aha152x_core.c index dba3716511c5..24b89228b241 100644 --- a/drivers/scsi/pcmcia/aha152x_core.c +++ b/drivers/scsi/pcmcia/aha152x_core.c @@ -1,3 +1,3 @@ -#define PCMCIA 1 +#define AHA152X_PCMCIA 1 #define AHA152X_STAT 1 #include "aha152x.c" -- 2.19.1