From patchwork Tue Mar 17 19:44:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 1256853 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48hkCZ4KC5z9sPJ; Wed, 18 Mar 2020 06:44:56 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1jEI8t-0004VU-9V; Tue, 17 Mar 2020 19:44:47 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jEI8s-0004VN-09 for kernel-team@lists.ubuntu.com; Tue, 17 Mar 2020 19:44:46 +0000 Received: from 1.general.cking.uk.vpn ([10.172.193.212] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1jEI8r-00042b-MD; Tue, 17 Mar 2020 19:44:45 +0000 From: Colin King To: kernel-team@lists.ubuntu.com Subject: [PATCH][FOCAL] UBUNTU: hio -- remove duplicated MODULE_DEVICE_TABLE declaration Date: Tue, 17 Mar 2020 19:44:45 +0000 Message-Id: <20200317194445.494534-1-colin.king@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Colin Ian King The declaration is duplicated and will cause build failure when building with clang. Remove it. Signed-off-by: Colin Ian King --- ubuntu/hio/hio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ubuntu/hio/hio.c b/ubuntu/hio/hio.c index 57ad49a7e562..2eecca47e42d 100644 --- a/ubuntu/hio/hio.c +++ b/ubuntu/hio/hio.c @@ -12956,7 +12956,6 @@ MODULE_DEVICE_TABLE(pci, ssd_pci_tbl); SIMPLE_DEV_PM_OPS(hio_pm_ops, ssd_hio_suspend, ssd_hio_resume); #endif -MODULE_DEVICE_TABLE(pci, ssd_pci_tbl); struct pci_driver ssd_driver = { .name = MODULE_NAME, .id_table = ssd_pci_tbl,