Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp359786imm; Wed, 17 Oct 2018 01:04:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV62ZzKOiS8o3Vz6+5hLK92xV4jaOrr+o/w2q+8Tv3OWXqzXUCwyZ7datI4i0DHn7eIt1PIRe X-Received: by 2002:a63:ea07:: with SMTP id c7-v6mr22367717pgi.361.1539763474657; Wed, 17 Oct 2018 01:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539763474; cv=none; d=google.com; s=arc-20160816; b=e82Za/vTsIJT/csHraSwQsrDNEgtaucY/XU89EMt84WrS5aJU7VKBUNkKruYN5snuQ E/enGZ/H69RGXQgGPbDxthPhsEL3ypTFXB1HCLL3fX+xVaUf3BkIlxO+3xvoQD30EHUj PO/0PGKCrYVa7IbQlViFjezRJ89FFLHvyi2Tnoe405fM5IA3v5oTx5scLTeNvgARFGiD WhWgdf6g+yz4Gx28NW1opUPNllty31poWDypUTw7VY0S64gXW/9W3pkR6HukBVDF820V CZlv6otDXEQ7g6FBk3K3XdxiQCaFHN5vNAzGcOhTcGdiF9yYqz4El+d81wONFliLYKVZ U6hA== 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=Ln421YOt3BS8+j8rObjZM/TBWkZ81n1BgSYGXhRInzppy4lyEPXsp4YKZhmHWg73Bf 6dGGp2zWmhrpkXUUgrpf5NA5+jkLsFzUE6d0smXFQmPxY69n70xLFIpcxG2pEW1/UKhS lhEKcNl+czuMf1872MkIUvWKLqntTVckPt8IdhB10UTo7YI9ZoJTro8sXn/tFv6wMnHY VT5ZPi9Nm3uqgmkb4u/K3BdkjWynLcuGRTwcFFT8UMtMiIQHbrXCBp2vIm5D8iYcf7zR psuYkKTkbmbppo3t0pCgmDBf1XffQfcnIGEuHnkJ8Dd6G7VbOOpgbatFLN/tKJRB5cae K+4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=bCpgWmrX; 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 1-v6si15275509pls.296.2018.10.17.01.04.19; Wed, 17 Oct 2018 01:04:34 -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=bCpgWmrX; 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 S1727542AbeJQP4p (ORCPT + 99 others); Wed, 17 Oct 2018 11:56:45 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:50446 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726691AbeJQP4o (ORCPT ); Wed, 17 Oct 2018 11:56:44 -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=bCpgWmrX4ptiZ9R2UQ3R5fszV P4t8Vcj8QtMciWHZ1rfzwk9tw95DmuP5oxCd7p6wGmIbC/Rtq9wXhkIcLB4p+vygePoXXR+TZlSJL ddC/tD+g/E5LOhEBS2cFg2jbb/QLeM7aMj+nWdfdtSA6UjsKlMzh63Bwt9bAEnNPpuzJVzhx+66s2 tq6MozOPVr/TGoe8cNXwdN78zpv8Bgp4dVKJzdj/8xZekW4uXosGsBH6Rn4ItXuddmxV/+9hMv23g A1UxMiIeKoKd4Sp6tlPcZVG3tHNrB2cTSCvvWd0nIEttIe8COiySl5bo/DElQog5ZSARN6pARExkr u14zfxFng==; 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 1gCgmO-0003Et-JX; Wed, 17 Oct 2018 08:02:08 +0000 From: Christoph Hellwig To: Masahiro Yamada Cc: Matt Porter , Alexandre Bounine , Dominik Brodowski , linux-kbuild@vger.kernel.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/8] aha152x: rename the PCMCIA define Date: Wed, 17 Oct 2018 10:01:54 +0200 Message-Id: <20181017080201.10866-2-hch@lst.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181017080201.10866-1-hch@lst.de> References: <20181017080201.10866-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