From patchwork Fri Dec 22 17:18:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steffen Weber X-Patchwork-Id: 10130961 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0AE446019D for ; Fri, 22 Dec 2017 17:19:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E39C828A4C for ; Fri, 22 Dec 2017 17:19:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D881D29383; Fri, 22 Dec 2017 17:19:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8A95228A4C for ; Fri, 22 Dec 2017 17:19:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756218AbdLVRTL (ORCPT ); Fri, 22 Dec 2017 12:19:11 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:44243 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755826AbdLVRTK (ORCPT ); Fri, 22 Dec 2017 12:19:10 -0500 Received: by mail-wm0-f50.google.com with SMTP id t8so22994733wmc.3 for ; Fri, 22 Dec 2017 09:19:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=j6L7k08Cx5FdB8hUDtdUty+SqqMdlQDLpfzge3kdwSA=; b=P7BdkrpZrIludoIet6nhVrDFXNZSAWMbAWEqhgNxxGyPtXRaMeSIt7hRa6ZntgsgMg RqFLUZEV6xAKdsveEcWuH9Tc8EQ34seF4ouHmb+hlavnvVYFxPjErmvXOuk58a4X/26k 98Lc7fJ2+A5gGAcs2lisecS2kbKSG0SW0eB1IDiUne7XPyQB3FRdOaM1yk5P5ouCyxzA Cxg0OfkU+m9UhSgRVKcwYCrFDLAYhn9LiDWjFO5qzOWJM/5z9g9aG7P5ZhwsmDRfnPOR INCf7hn1U1huqudZTPSDC3Pvdcsud1hwaX3Tjlv7QorYWmeem4FGqqlg4gu9KMCTzVjq 3rwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=j6L7k08Cx5FdB8hUDtdUty+SqqMdlQDLpfzge3kdwSA=; b=XZWG1YrMp+OZFBYGpVj3dAW/p260b4AeMooGDub8rt7W7FmBq44tmsuddbMUNm5YQD WeZQ6NBY658/+yrZ7sFsQCizdKVgEi0VGCFmY/QLgergcrGekQb4FYvliLxIW39YF5Vb JauPJ+q5U8mXa9lLPzDRDX6LJdAZOlzVHwFAr2iN2tqIOxR6oE9t3CxIAU/GNrIhlUkF iLR2fdghOWmhAzbqHV61hzFK/qZZUzQ/VlRkToK5t5qiH6EF7jHpjACI9cIpg4VrB8Bu aO4FRFL6AREs15HaT9mtsVWqaNI2vh60WDcD7MCNM7oe5Yxm2w4ucRlIf01QYAwJxFeW G3Fg== X-Gm-Message-State: AKGB3mKsQ0QW9+Qz2EUx3LxO1yfdcjezFmvW6wDztYDoALFBO1g8kIi8 EPwbtbvygvNTrByIvPudaN4= X-Google-Smtp-Source: ACJfBovoNIVn0Ql+vXb2qDXepzumMVq+iS9iDw4KP1mPk6KH+gUZITnc96J122eVfluowiyjtEciJQ== X-Received: by 10.28.229.213 with SMTP id c204mr14629020wmh.57.1513963149560; Fri, 22 Dec 2017 09:19:09 -0800 (PST) Received: from cbdev.lan (ip-178-201-120-141.hsi08.unitymediagroup.de. [178.201.120.141]) by smtp.gmail.com with ESMTPSA id e132sm6589011wmd.40.2017.12.22.09.19.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Dec 2017 09:19:08 -0800 (PST) From: Steffen Weber To: don.brace@microsemi.com, esc.storagedev@microsemi.com, linux-scsi@vger.kernel.org Cc: Steffen Weber Subject: [PATCH] scsi: smartpqi: allow static build ("built-in") Date: Fri, 22 Dec 2017 18:18:47 +0100 Message-Id: <20171222171847.14006-1-steffen.weber@gmail.com> X-Mailer: git-send-email 2.15.1 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP If CONFIG_SCSI_SMARTPQI=y then don't build this driver as a module. --- drivers/scsi/smartpqi/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/smartpqi/Makefile b/drivers/scsi/smartpqi/Makefile index 0f42a225a..e6b779930 100644 --- a/drivers/scsi/smartpqi/Makefile +++ b/drivers/scsi/smartpqi/Makefile @@ -1,3 +1,3 @@ ccflags-y += -I. -obj-m += smartpqi.o +obj-$(CONFIG_SCSI_SMARTPQI) += smartpqi.o smartpqi-objs := smartpqi_init.o smartpqi_sis.o smartpqi_sas_transport.o