Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1406987iog; Tue, 14 Jun 2022 05:35:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHIx518qWVl1E6GQ93/CaC5394PriDxUdJW0x3iOTr2Z8KoVO9yaCUCblGq+GvdH5ELyBJ X-Received: by 2002:a17:906:e098:b0:711:d05c:89c5 with SMTP id gh24-20020a170906e09800b00711d05c89c5mr4202982ejb.470.1655210101619; Tue, 14 Jun 2022 05:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655210101; cv=none; d=google.com; s=arc-20160816; b=cjlAjOFb9k6m2L8nVIPpVS7qef95CKmJJo2JLEJc415Wi4s6G9+66Zj2RktXBaD/tI XU4cpYfr0Nx5ufajv7V8F4BNY24fEJBttsdV07CqAx8M070lRdfV9Y1bRsGlV4ljTYKF LL31SoKkti0C7Z42aGThaT+niOlDFLAwW31Lv7/YLQepoBnjKbz69l5AISoG6azxcLgL jnx5VvsJYJfHBhfPD6D57PWEXOcY0if/3Cwg6IX5n0EB1Zfd6alFr7g72zlV3PdVrIsE xWOWtbKW+tUw+GrahkMncqHYWBmZ03XpC2ElpyUwE9VoYcC2LG9vw+r9TAcUGBM3zutp ybbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=s1QllzXGCUo8JTE+hOZVBSnNVj6x3XTlbwu5/oui3J8=; b=d44D24gEwWjrNzCYqth8Ez3BQnDVuLq1x2ROplw8BNFQ98rMugvnyiq6NX7grH93Nc MpWDHqymVON8aV0o1C5tzNfSumMSWx+8CWXQTQ/r8tlXcU7Q2RSiQ77jOMgbtg+WDS/7 EZkKESDh+/offm68Rl3MKyg2xQ92awasWnNiqgJO5VFiRN32lJ7Gos6Ccj8xqlTWpJKe LCPFLfa/W6mhbfzMl74gdhbLnGCP+r3aO5ADNDbLCWDZg6NPh++XtHnSrNnuT8sZoW5y +JGHmOv4MIU4KdX1EsABXknS1eT0JDXJjj+ACUxpRR7YvNDVikXSFZkP0CVB0bz4Qe41 bzAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UeS+soY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a100-20020a509eed000000b00423de77bfdfsi10969093edf.185.2022.06.14.05.34.34; Tue, 14 Jun 2022 05:35:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UeS+soY0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242984AbiFNM3a (ORCPT + 99 others); Tue, 14 Jun 2022 08:29:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243894AbiFNM2k (ORCPT ); Tue, 14 Jun 2022 08:28:40 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43E5722B19 for ; Tue, 14 Jun 2022 05:28:39 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id n10so16848118ejk.5 for ; Tue, 14 Jun 2022 05:28:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=s1QllzXGCUo8JTE+hOZVBSnNVj6x3XTlbwu5/oui3J8=; b=UeS+soY0woVEo83Ch9yUMn7BxrQO2Yv75mFq4TKV7j0bJ6wM6UVI092ssFHWDbXshb adHD3SMfqeSl+23u98d7JiRKp/d6bKikWqnFtSy/sff85hRQIIlNC/ZdZ8JOAN1Q2y60 P6buwedBe9Y+h4tvFvXNqJ9Rt1TsUGRy2pKDQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=s1QllzXGCUo8JTE+hOZVBSnNVj6x3XTlbwu5/oui3J8=; b=STo9oelKa54A6Q/0yAyib0XHuJDgixVTGAGTxD3Wa18Mmrrun0MZxLymz3Wl9Px6Uc wQoxo5knmr4uMPWWjtXR0hPJteaNkrHYXqaXmhxujaD0AdBf9ommtxWhQaoQ3vjmonlM UQsMGYNyBCQN5IXDtQTp7Z3EA3DQpLmewQMosDSBdaoSpjn7B7NQkS4svl7x2V4bnB85 HdNASXQQQv8wDWA+43TyHc2v5cOXhWEERFJwUH8LDRUzDvQu4ztm3iITSmTeElz4YjJ0 y9Y7nre4f2GdwvnrDpn8tSvR/ns1lo5Wr6HGooiSZkNugIPn0ocsRFmwauxENjsniGka B5AA== X-Gm-Message-State: AJIora80vdT++w+6HkD2YH9csmpu1dh2DNMMqyHVGrjCAiNi3BGh9reo I3SwdfG3g5W5E9/TWFtAeGIUdkCYFfVigQ== X-Received: by 2002:a17:906:74cc:b0:712:381:9c5a with SMTP id z12-20020a17090674cc00b0071203819c5amr4079949ejl.466.1655209718386; Tue, 14 Jun 2022 05:28:38 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (host-80-116-90-174.pool80116.interbusiness.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id z22-20020a17090655d600b006f3ef214e2csm5087043ejp.146.2022.06.14.05.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 05:28:37 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , Oliver Hartkopp , michael@amarulasolutions.com, Dario Binacchi , "David S. Miller" , Eric Dumazet , Greg Kroah-Hartman , Jakub Kicinski , Jiri Slaby , Marc Kleine-Budde , Paolo Abeni , Sebastian Andrzej Siewior , Vincent Mailhol , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH v4 09/12] can: slcan: move driver into separate sub directory Date: Tue, 14 Jun 2022 14:28:18 +0200 Message-Id: <20220614122821.3646071-10-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220614122821.3646071-1-dario.binacchi@amarulasolutions.com> References: <20220614122821.3646071-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch moves the slcan driver into a separate directory, a later patch will add more files. Signed-off-by: Dario Binacchi --- (no changes since v1) drivers/net/can/Makefile | 2 +- drivers/net/can/slcan/Makefile | 6 ++++++ drivers/net/can/{slcan.c => slcan/slcan-core.c} | 0 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 drivers/net/can/slcan/Makefile rename drivers/net/can/{slcan.c => slcan/slcan-core.c} (100%) diff --git a/drivers/net/can/Makefile b/drivers/net/can/Makefile index 0af85983634c..210354df273c 100644 --- a/drivers/net/can/Makefile +++ b/drivers/net/can/Makefile @@ -5,7 +5,7 @@ obj-$(CONFIG_CAN_VCAN) += vcan.o obj-$(CONFIG_CAN_VXCAN) += vxcan.o -obj-$(CONFIG_CAN_SLCAN) += slcan.o +obj-$(CONFIG_CAN_SLCAN) += slcan/ obj-y += dev/ obj-y += rcar/ diff --git a/drivers/net/can/slcan/Makefile b/drivers/net/can/slcan/Makefile new file mode 100644 index 000000000000..2e84f7bf7617 --- /dev/null +++ b/drivers/net/can/slcan/Makefile @@ -0,0 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0 + +obj-$(CONFIG_CAN_SLCAN) += slcan.o + +slcan-objs := +slcan-objs += slcan-core.o diff --git a/drivers/net/can/slcan.c b/drivers/net/can/slcan/slcan-core.c similarity index 100% rename from drivers/net/can/slcan.c rename to drivers/net/can/slcan/slcan-core.c -- 2.32.0