From patchwork Tue Jun 8 16:23:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 12307531 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAC61C47082 for ; Tue, 8 Jun 2021 16:28:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9DAF061184 for ; Tue, 8 Jun 2021 16:28:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9DAF061184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lKwZK84M6dFyx5SizFkUaW6cBX8QJllC73gUGDDmJvg=; b=c4h9kFmeyi2+pg s7ZkudydNB5DPjpxXH8TwMZi4YmEyRJ2EidX4wZzQEh3AEMVotBeH0obEOEOEqi8oUWv5tFqrby/a Kr/46jHBsBZq7SA6mlFETwwx6WOe6GVvr+A/uYdJ3IO3yWm3Dtpo8Ex+zI2Dz4jicrDBjaEPsMQYL 7q0slZTux3rc1PzFPzgBfyIbjKNckhSbaKc/2mhS/ugFq4RIj2wCiZJoVEs/Dv8g2cY2T9Ae4sGPB XAXwaR9ewMdDAFS6gxtPJPRMe3rpI4dHUfGD08YgNMO+RRyIf4rm7DF8tr6Eq5cD/cWE07/sxoFOo XvlEzS2C61DT5MjkxUZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqeYP-009UsB-6v; Tue, 08 Jun 2021 16:26:14 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqeWT-009U1c-I0 for linux-arm-kernel@lists.infradead.org; Tue, 08 Jun 2021 16:24:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623169452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z30Ub+z2OjWJtR5c/iXeFpG9nHCwEt3UgVQc8aykjUY=; b=OEIBs1DpxsDgAbU7gFr7QJxOlk1knvDWRCn46TtxUW3JvDuqGZsSGJR5ipku1lZ7PKWXOA jop0GRrg+nsw0NLbLtEKu1IPBzPlmtoOkAeqAVU8nYsN1efo2awNeLXGhBC5pbzgQWGZLY nikQnX3fRQ48OrTO7XBKhahM7sKqVV0= Received: from mail-ot1-f71.google.com (mail-ot1-f71.google.com [209.85.210.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-249-GWyiMUqSMR6E4t7ig_Xmig-1; Tue, 08 Jun 2021 12:24:11 -0400 X-MC-Unique: GWyiMUqSMR6E4t7ig_Xmig-1 Received: by mail-ot1-f71.google.com with SMTP id q20-20020a9d7c940000b02903f5a4101f8eso1463009otn.17 for ; Tue, 08 Jun 2021 09:24:10 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=z30Ub+z2OjWJtR5c/iXeFpG9nHCwEt3UgVQc8aykjUY=; b=Q29NmRBiWulr1eB/6oRNSqKEC515/5UvO04mW9ufrjiua7ZEa+GHTHu7IVJ3QCrNcw EgDF041mG8MUGx7zsrZOhrPaMGlTF5FhhNHkVQSdpmHkNzf2cec2H4ClmZKqJ09Y8jyJ y9PZzYWKNkIbSwJiuIoebMOd0NOj+h0cn2KCLcsj3pt+0wIVDSiuUDG6ZAvoCV6NXv3o bKJVedR5aY3ZAbA7WzQJ7fDnrr4lV6D7OpxgDVQevHv8vvoH/hfEIWRL4jsy35LlL7Ed UmFTnul0smBi1xViYgg1QHNQCd9MqFu3WEsEfahPSKsOm/eovYpXxUf0sC6smdwwr119 Y6fQ== X-Gm-Message-State: AOAM532c5b3V3l3k4bC6YUPkY5qL6ptKG3BpMXdWN7add6y9B7JuAKp8 r2cJjn7ClfQLqQ3gvcopiimHU+NmRQzoktuSIqHLcUX0ny/LILBqyw5/bmkifEuWcOV9qaUnHvR 51rrKir4AUkgOkk0BSSbeNo9b1khAcqbe3sk= X-Received: by 2002:aca:ed0f:: with SMTP id l15mr3327138oih.136.1623169448965; Tue, 08 Jun 2021 09:24:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/wf90qvmJyOhl8IF/LUAuCtSuS57EK6CzmLJqOBLpGIE7vechP80vuJAMtMPctg+4J7fPcg== X-Received: by 2002:aca:ed0f:: with SMTP id l15mr3327130oih.136.1623169448735; Tue, 08 Jun 2021 09:24:08 -0700 (PDT) Received: from localhost.localdomain.com (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id s4sm3225773otr.80.2021.06.08.09.24.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Jun 2021 09:24:08 -0700 (PDT) From: trix@redhat.com To: hao.wu@intel.com, mdf@kernel.org, corbet@lwn.net, michal.simek@xilinx.com, gregkh@linuxfoundation.org, dinguyen@kernel.org, krzysztof.kozlowski@canonical.com, nava.manne@xilinx.com, yilun.xu@intel.com, davidgow@google.com, fpacheco@redhat.com, richard.gong@intel.com, luca@lucaceresoli.net Cc: linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tom Rix Subject: [PATCH 5/7] fpga: dfl: remove dfl- prefix on files Date: Tue, 8 Jun 2021 09:23:38 -0700 Message-Id: <20210608162340.3010204-7-trix@redhat.com> X-Mailer: git-send-email 2.26.3 In-Reply-To: <20210608162340.3010204-1-trix@redhat.com> References: <20210608162340.3010204-1-trix@redhat.com> MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=trix@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210608_092413_801281_C02502F9 X-CRM114-Status: GOOD ( 18.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Tom Rix It is not necessary to have a dfl- prefix on a file when the file is in a dfl/ subdir. Signed-off-by: Tom Rix --- Documentation/fpga/dfl.rst | 4 ++-- drivers/fpga/dfl/Makefile | 21 +++++++------------ ...{dfl-afu-dma-region.c => afu-dma-region.c} | 2 +- .../fpga/dfl/{dfl-afu-error.c => afu-error.c} | 2 +- .../fpga/dfl/{dfl-afu-main.c => afu-main.c} | 2 +- .../dfl/{dfl-afu-region.c => afu-region.c} | 2 +- drivers/fpga/dfl/{dfl-afu.h => afu.h} | 6 +++--- drivers/fpga/dfl/{dfl-fme-br.c => fme-br.c} | 2 +- .../fpga/dfl/{dfl-fme-error.c => fme-error.c} | 2 +- .../fpga/dfl/{dfl-fme-main.c => fme-main.c} | 2 +- drivers/fpga/dfl/{dfl-fme-mgr.c => fme-mgr.c} | 2 +- .../fpga/dfl/{dfl-fme-perf.c => fme-perf.c} | 2 +- drivers/fpga/dfl/{dfl-fme-pr.c => fme-pr.c} | 4 ++-- drivers/fpga/dfl/{dfl-fme-pr.h => fme-pr.h} | 6 +++--- .../dfl/{dfl-fme-region.c => fme-region.c} | 2 +- drivers/fpga/dfl/{dfl-fme.h => fme.h} | 6 +++--- .../dfl/{dfl-n3000-nios.c => n3000-nios.c} | 0 drivers/fpga/dfl/{dfl-pci.c => pci.c} | 0 18 files changed, 31 insertions(+), 36 deletions(-) rename drivers/fpga/dfl/{dfl-afu-dma-region.c => afu-dma-region.c} (99%) rename drivers/fpga/dfl/{dfl-afu-error.c => afu-error.c} (99%) rename drivers/fpga/dfl/{dfl-afu-main.c => afu-main.c} (99%) rename drivers/fpga/dfl/{dfl-afu-region.c => afu-region.c} (99%) rename drivers/fpga/dfl/{dfl-afu.h => afu.h} (98%) rename drivers/fpga/dfl/{dfl-fme-br.c => fme-br.c} (99%) rename drivers/fpga/dfl/{dfl-fme-error.c => fme-error.c} (99%) rename drivers/fpga/dfl/{dfl-fme-main.c => fme-main.c} (99%) rename drivers/fpga/dfl/{dfl-fme-mgr.c => fme-mgr.c} (99%) rename drivers/fpga/dfl/{dfl-fme-perf.c => fme-perf.c} (99%) rename drivers/fpga/dfl/{dfl-fme-pr.c => fme-pr.c} (99%) rename drivers/fpga/dfl/{dfl-fme-pr.h => fme-pr.h} (96%) rename drivers/fpga/dfl/{dfl-fme-region.c => fme-region.c} (98%) rename drivers/fpga/dfl/{dfl-fme.h => fme.h} (95%) rename drivers/fpga/dfl/{dfl-n3000-nios.c => n3000-nios.c} (100%) rename drivers/fpga/dfl/{dfl-pci.c => pci.c} (100%) diff --git a/Documentation/fpga/dfl.rst b/Documentation/fpga/dfl.rst index ccc33f199df2a..696ab63d9e6bf 100644 --- a/Documentation/fpga/dfl.rst +++ b/Documentation/fpga/dfl.rst @@ -210,7 +210,7 @@ device and etc. Its driver module is always loaded first once the device is created by the system. This driver plays an infrastructural role in the driver architecture. It locates the DFLs in the device memory, handles them and related resources to common interfaces from DFL framework for enumeration. -(Please refer to drivers/fpga/dfl.c for detailed enumeration APIs). +(Please refer to drivers/fpga/dfl/dfl.c for detailed enumeration APIs). The FPGA Management Engine (FME) driver is a platform driver which is loaded automatically after FME platform device creation from the DFL device module. It @@ -499,7 +499,7 @@ In some cases, we may need to add some new private features to existing FIUs framework, as each private feature will be parsed automatically and related mmio resources can be found under FIU platform device created by DFL framework. Developer only needs to provide a sub feature driver with matched feature id. -FME Partial Reconfiguration Sub Feature driver (see drivers/fpga/dfl-fme-pr.c) +FME Partial Reconfiguration Sub Feature driver (see drivers/fpga/dfl/fme-pr.c) could be a reference. Location of DFLs on a PCI Device diff --git a/drivers/fpga/dfl/Makefile b/drivers/fpga/dfl/Makefile index 724792039026f..29c9dbabd9f77 100644 --- a/drivers/fpga/dfl/Makefile +++ b/drivers/fpga/dfl/Makefile @@ -4,16 +4,11 @@ obj-$(CONFIG_FPGA_DFL) += dfl.o obj-$(CONFIG_FPGA_DFL_AFU) += dfl-afu.o obj-$(CONFIG_FPGA_DFL_FME) += dfl-fme.o -obj-$(CONFIG_FPGA_DFL_FME_BRIDGE) += dfl-fme-br.o -obj-$(CONFIG_FPGA_DFL_FME_MGR) += dfl-fme-mgr.o -obj-$(CONFIG_FPGA_DFL_FME_REGION) += dfl-fme-region.o -obj-$(CONFIG_FPGA_DFL_NIOS_INTEL_PAC_N3000) += dfl-n3000-nios.o -obj-$(CONFIG_FPGA_DFL_PCI) += dfl-pci.o - -dfl-fme-objs := dfl-fme-main.o dfl-fme-pr.o dfl-fme-error.o \ - dfl-fme-perf.o -dfl-afu-objs := dfl-afu-main.o dfl-afu-region.o dfl-afu-dma-region.o \ - dfl-afu-error.o - - - +obj-$(CONFIG_FPGA_DFL_FME_BRIDGE) += fme-br.o +obj-$(CONFIG_FPGA_DFL_FME_MGR) += fme-mgr.o +obj-$(CONFIG_FPGA_DFL_FME_REGION) += fme-region.o +obj-$(CONFIG_FPGA_DFL_NIOS_INTEL_PAC_N3000) += n3000-nios.o +obj-$(CONFIG_FPGA_DFL_PCI) += pci.o + +dfl-fme-objs := fme-main.o fme-pr.o fme-error.o fme-perf.o +dfl-afu-objs := afu-main.o afu-region.o afu-dma-region.o afu-error.o diff --git a/drivers/fpga/dfl/dfl-afu-dma-region.c b/drivers/fpga/dfl/afu-dma-region.c similarity index 99% rename from drivers/fpga/dfl/dfl-afu-dma-region.c rename to drivers/fpga/dfl/afu-dma-region.c index 02b60fde04305..1cf3acbdb0918 100644 --- a/drivers/fpga/dfl/dfl-afu-dma-region.c +++ b/drivers/fpga/dfl/afu-dma-region.c @@ -14,7 +14,7 @@ #include #include -#include "dfl-afu.h" +#include "afu.h" void afu_dma_region_init(struct dfl_feature_platform_data *pdata) { diff --git a/drivers/fpga/dfl/dfl-afu-error.c b/drivers/fpga/dfl/afu-error.c similarity index 99% rename from drivers/fpga/dfl/dfl-afu-error.c rename to drivers/fpga/dfl/afu-error.c index ab7be62173681..4e04a9de314d5 100644 --- a/drivers/fpga/dfl/dfl-afu-error.c +++ b/drivers/fpga/dfl/afu-error.c @@ -17,7 +17,7 @@ #include #include -#include "dfl-afu.h" +#include "afu.h" #define PORT_ERROR_MASK 0x8 #define PORT_ERROR 0x10 diff --git a/drivers/fpga/dfl/dfl-afu-main.c b/drivers/fpga/dfl/afu-main.c similarity index 99% rename from drivers/fpga/dfl/dfl-afu-main.c rename to drivers/fpga/dfl/afu-main.c index 7f621e96d3b8d..9681ab83c02ee 100644 --- a/drivers/fpga/dfl/dfl-afu-main.c +++ b/drivers/fpga/dfl/afu-main.c @@ -19,7 +19,7 @@ #include #include -#include "dfl-afu.h" +#include "afu.h" #define RST_POLL_INVL 10 /* us */ #define RST_POLL_TIMEOUT 1000 /* us */ diff --git a/drivers/fpga/dfl/dfl-afu-region.c b/drivers/fpga/dfl/afu-region.c similarity index 99% rename from drivers/fpga/dfl/dfl-afu-region.c rename to drivers/fpga/dfl/afu-region.c index 0804b7a0c2986..0efcdb2a388e3 100644 --- a/drivers/fpga/dfl/dfl-afu-region.c +++ b/drivers/fpga/dfl/afu-region.c @@ -8,7 +8,7 @@ * Wu Hao * Xiao Guangrong */ -#include "dfl-afu.h" +#include "afu.h" /** * afu_mmio_region_init - init function for afu mmio region support diff --git a/drivers/fpga/dfl/dfl-afu.h b/drivers/fpga/dfl/afu.h similarity index 98% rename from drivers/fpga/dfl/dfl-afu.h rename to drivers/fpga/dfl/afu.h index e5020e2b1f3df..1ea7945218d57 100644 --- a/drivers/fpga/dfl/dfl-afu.h +++ b/drivers/fpga/dfl/afu.h @@ -14,8 +14,8 @@ * Henry Mitchel */ -#ifndef __DFL_AFU_H -#define __DFL_AFU_H +#ifndef __AFU_H +#define __AFU_H #include @@ -106,4 +106,4 @@ extern const struct dfl_feature_ops port_err_ops; extern const struct dfl_feature_id port_err_id_table[]; extern const struct attribute_group port_err_group; -#endif /* __DFL_AFU_H */ +#endif /* __AFU_H */ diff --git a/drivers/fpga/dfl/dfl-fme-br.c b/drivers/fpga/dfl/fme-br.c similarity index 99% rename from drivers/fpga/dfl/dfl-fme-br.c rename to drivers/fpga/dfl/fme-br.c index 3ff9f3a687ce5..ee321903b2885 100644 --- a/drivers/fpga/dfl/dfl-fme-br.c +++ b/drivers/fpga/dfl/fme-br.c @@ -17,7 +17,7 @@ #include #include "dfl.h" -#include "dfl-fme-pr.h" +#include "fme-pr.h" struct fme_br_priv { struct dfl_fme_br_pdata *pdata; diff --git a/drivers/fpga/dfl/dfl-fme-error.c b/drivers/fpga/dfl/fme-error.c similarity index 99% rename from drivers/fpga/dfl/dfl-fme-error.c rename to drivers/fpga/dfl/fme-error.c index 51c2892ec06d5..97c94a87d053b 100644 --- a/drivers/fpga/dfl/dfl-fme-error.c +++ b/drivers/fpga/dfl/fme-error.c @@ -19,7 +19,7 @@ #include #include "dfl.h" -#include "dfl-fme.h" +#include "fme.h" #define FME_ERROR_MASK 0x8 #define FME_ERROR 0x10 diff --git a/drivers/fpga/dfl/dfl-fme-main.c b/drivers/fpga/dfl/fme-main.c similarity index 99% rename from drivers/fpga/dfl/dfl-fme-main.c rename to drivers/fpga/dfl/fme-main.c index 77ea04d4edbef..05676c5a623b1 100644 --- a/drivers/fpga/dfl/dfl-fme-main.c +++ b/drivers/fpga/dfl/fme-main.c @@ -22,7 +22,7 @@ #include #include "dfl.h" -#include "dfl-fme.h" +#include "fme.h" static ssize_t ports_num_show(struct device *dev, struct device_attribute *attr, char *buf) diff --git a/drivers/fpga/dfl/dfl-fme-mgr.c b/drivers/fpga/dfl/fme-mgr.c similarity index 99% rename from drivers/fpga/dfl/dfl-fme-mgr.c rename to drivers/fpga/dfl/fme-mgr.c index d5861d13b3069..ae2b45abbe3aa 100644 --- a/drivers/fpga/dfl/dfl-fme-mgr.c +++ b/drivers/fpga/dfl/fme-mgr.c @@ -22,7 +22,7 @@ #include #include -#include "dfl-fme-pr.h" +#include "fme-pr.h" /* FME Partial Reconfiguration Sub Feature Register Set */ #define FME_PR_DFH 0x0 diff --git a/drivers/fpga/dfl/dfl-fme-perf.c b/drivers/fpga/dfl/fme-perf.c similarity index 99% rename from drivers/fpga/dfl/dfl-fme-perf.c rename to drivers/fpga/dfl/fme-perf.c index 4299145ef347e..451d7b6e0ac1f 100644 --- a/drivers/fpga/dfl/dfl-fme-perf.c +++ b/drivers/fpga/dfl/fme-perf.c @@ -18,7 +18,7 @@ #include #include "dfl.h" -#include "dfl-fme.h" +#include "fme.h" /* * Performance Counter Registers for Cache. diff --git a/drivers/fpga/dfl/dfl-fme-pr.c b/drivers/fpga/dfl/fme-pr.c similarity index 99% rename from drivers/fpga/dfl/dfl-fme-pr.c rename to drivers/fpga/dfl/fme-pr.c index d61ce9a188792..aed4f061c0bf2 100644 --- a/drivers/fpga/dfl/dfl-fme-pr.c +++ b/drivers/fpga/dfl/fme-pr.c @@ -26,8 +26,8 @@ #include #include "dfl.h" -#include "dfl-fme.h" -#include "dfl-fme-pr.h" +#include "fme.h" +#include "fme-pr.h" static struct dfl_fme_region * dfl_fme_region_find_by_port_id(struct dfl_fme *fme, int port_id) diff --git a/drivers/fpga/dfl/dfl-fme-pr.h b/drivers/fpga/dfl/fme-pr.h similarity index 96% rename from drivers/fpga/dfl/dfl-fme-pr.h rename to drivers/fpga/dfl/fme-pr.h index 096a699089d30..65b33cdeaf80d 100644 --- a/drivers/fpga/dfl/dfl-fme-pr.h +++ b/drivers/fpga/dfl/fme-pr.h @@ -15,8 +15,8 @@ * Henry Mitchel */ -#ifndef __DFL_FME_PR_H -#define __DFL_FME_PR_H +#ifndef __FME_PR_H +#define __FME_PR_H #include @@ -81,4 +81,4 @@ struct dfl_fme_mgr_pdata { #define DFL_FPGA_FME_BRIDGE "dfl-fme-bridge" #define DFL_FPGA_FME_REGION "dfl-fme-region" -#endif /* __DFL_FME_PR_H */ +#endif /* __FME_PR_H */ diff --git a/drivers/fpga/dfl/dfl-fme-region.c b/drivers/fpga/dfl/fme-region.c similarity index 98% rename from drivers/fpga/dfl/dfl-fme-region.c rename to drivers/fpga/dfl/fme-region.c index 1eeb42af10122..412609ebad148 100644 --- a/drivers/fpga/dfl/dfl-fme-region.c +++ b/drivers/fpga/dfl/fme-region.c @@ -17,7 +17,7 @@ #include #include -#include "dfl-fme-pr.h" +#include "fme-pr.h" static int fme_region_get_bridges(struct fpga_region *region) { diff --git a/drivers/fpga/dfl/dfl-fme.h b/drivers/fpga/dfl/fme.h similarity index 95% rename from drivers/fpga/dfl/dfl-fme.h rename to drivers/fpga/dfl/fme.h index 4195dd68193e7..300b6cc5cb63f 100644 --- a/drivers/fpga/dfl/dfl-fme.h +++ b/drivers/fpga/dfl/fme.h @@ -15,8 +15,8 @@ * Henry Mitchel */ -#ifndef __DFL_FME_H -#define __DFL_FME_H +#ifndef __FME_H +#define __FME_H /** * struct dfl_fme - dfl fme private data @@ -41,4 +41,4 @@ extern const struct attribute_group fme_global_err_group; extern const struct dfl_feature_ops fme_perf_ops; extern const struct dfl_feature_id fme_perf_id_table[]; -#endif /* __DFL_FME_H */ +#endif /* __FME_H */ diff --git a/drivers/fpga/dfl/dfl-n3000-nios.c b/drivers/fpga/dfl/n3000-nios.c similarity index 100% rename from drivers/fpga/dfl/dfl-n3000-nios.c rename to drivers/fpga/dfl/n3000-nios.c diff --git a/drivers/fpga/dfl/dfl-pci.c b/drivers/fpga/dfl/pci.c similarity index 100% rename from drivers/fpga/dfl/dfl-pci.c rename to drivers/fpga/dfl/pci.c