From patchwork Tue Jun 7 09:47:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2023 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5A67B3F08A for ; Tue, 7 Jun 2022 11:48:31 +0200 (CEST) Received: by mail-wm1-f70.google.com with SMTP id n18-20020a05600c3b9200b0039746f3d9fasf5576751wms.4 for ; Tue, 07 Jun 2022 02:48:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654595311; cv=pass; d=google.com; s=arc-20160816; b=HyaUwkiLeBaoWqf8G4A9ZULsZ7jG/Qe6OB/84lmMJLt8mzjltkdXRE/NWPEg3b+q/B R2H7S2qGSyhBcFSh23c5oUqJo4msa4mKxxuv249m0tLSYwKG1VcyrOPf7qNki4ShHmNm 2JH9gPMLT1yiaPb8bmj5bTmERB93qgi6jYpj40sioYszkIkBL4gHzzyhnSiZ9tDxicDC 8MN2Bnot7l+AqZ8x4Vya/re/0t32JLz+Vi4jfSngwjgg3kGOVtalSJf9lF18fyEEucCf W+0IGc75vTJ3ezkCJkPY4z1orO1QpIjHoShyF/9w1HEW6n2HXCVhFLJHmWJmyb7wKLoA 52Qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=gjMnhLGgOkT2bk0w9v9kuf//4QTmZDY6KkH5fguQ/aM=; b=CImZhZqN3pBcQQqLOZNo7flkavKHNxvXBcFCvtr4RwlU2zT/+d3YiFEghHFMOW9kMa aohdFFlfHQEmEFDOQvK5C7ZOFPLkg/MDUjarKf7gl8t/I5xDFsrd9n7KMBCfF857c1JD NzpNfkgbGaV83KPfWPz8zcsM0Rqx5mNCzxr3b1blEd/5lfcZpzih3uXrbrK4pL49yGFm ilalA5HzRxsMcRTGm6RCdjFXWh9EGkakL1YJpLwPzqpn2o7RQS48JnRv5Ne80LiSHJ2S Xg2ZgYCbVqEsLIGjICGKRm9sy5kXE7CdCqdZSFcU7TRNd7VV+l7RORohsaRaa/Zhh412 XgZA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SsiTzfOZ; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=gjMnhLGgOkT2bk0w9v9kuf//4QTmZDY6KkH5fguQ/aM=; b=L/2w+wsAZOwRSwtEvnNXvF6kdRCh+lPlSZW+DH0ehdshETMgbk9/Xlld8kR8ICLJ6W DvihcH9D+E+HGosZFJjsx439OfGZA/KmpZazE93qFoNeJGGGfnC3QztEv36G2kkO8uTh Fi8VO+YN1ZiqPgokgfTalBjwBXCh5YAoN4IrM= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=gjMnhLGgOkT2bk0w9v9kuf//4QTmZDY6KkH5fguQ/aM=; b=miR2o0NGCvf+SvxR1Eg5IvH6YToJWQaeIIG9p/C0ln3DGxynFgtx+IUpgm593QF2w2 5Em9KlJVp1M+Pzb6KsTt7JGlWG4DSB4W3rSgq6orGIVuQvphPM8WyPLtM1sgqaOc+k7N +Y+OTC0J7EFXz63v4GuDYS5yGlKCAVAiirHTqL7qmgCi+XHBLnO3WEpOo1ONGz+5V8bh pkHcGUaca/TPtGOgoGEG6FRRN/eeCLIxUMsioZ4yeDdXEKAi/yFmP0DfEI9E6HSkDV1F jSwuulS0Jb+KJFmt0IMHpGP+iXNgeL3AaQm64NichXziCQdYSANpGnEeSCdSZIbe9x1+ A12w== X-Gm-Message-State: AOAM5325VNagV0yGrKA5i3RrQOHlA47PWd0Wsceasp440O20kgwPrbzQ TbDc6C8cva1JtzRsbCeuZIkH8uaD X-Google-Smtp-Source: ABdhPJwbp5qxWAR+8xN3BGLdTERF/nUD9qNMx1guhPYMJgCpmi9GQ+KQlhxLWw8GzGQz6FzmsWWTpg== X-Received: by 2002:a5d:6085:0:b0:213:b9b5:d985 with SMTP id w5-20020a5d6085000000b00213b9b5d985mr23194143wrt.113.1654595311108; Tue, 07 Jun 2022 02:48:31 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a5d:648e:0:b0:217:c8b4:52e3 with SMTP id o14-20020a5d648e000000b00217c8b452e3ls4145772wri.1.gmail; Tue, 07 Jun 2022 02:48:30 -0700 (PDT) X-Received: by 2002:a5d:6e8d:0:b0:210:2ce0:e2ae with SMTP id k13-20020a5d6e8d000000b002102ce0e2aemr26841484wrz.364.1654595309983; Tue, 07 Jun 2022 02:48:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654595309; cv=none; d=google.com; s=arc-20160816; b=p0LjnUQY7gus/KC/Z8Y64z4AhYZ87/ZyrSgQ4rsQGyfCXb0tcpPqlL5a/rLtTSugGX xeb4Tin3QDXXuUAQWdqxIZaSlIbXlqayhvhA11NZt9tUCsGrB2xCL3PC88yNrLDKalOC hWfZKTTzZuTjxXljuV4cKuWTeNB0O2wazTbj++SlRGfMi0H8zFWgj8g8Oofz+QSgKLH4 GLNoVMK8m7LXQHZ7L8IDxrLC2J64m2b2mfpoPteF8RAaCSGJWYutkakyjT9/eGgh3J5p Z4jZljlL1RK2IvSVFBnZ94D2KO/5U94mgxnSsqaXJa6QM4Gtsy5gAA9s/XLlks2XfHcJ HXyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=fk8bZMyNT/2KuBRASzmCZE/YrWdzGKg6dBkYG4hiWJw=; b=YZOpSYXw05BN0uH64fySRsR5Clh0GE2oGKJoBI3D2mtN1Xej+gvQcV72QnRknDpXgG iZipqlC8HgYc676hLHtPfHV3aoLmoZLepp5O8KMaUaVwAw59O8gkCeNKy/lFO2EmI3iu 5gkMDkhXNUh8KDQ1oGoOa6OIF+ND1LPkj3/amaSGInc00pHpwYwdD/hED0dBZJyBDZtA cLJgeaOFpCZNy4oDu+EFD20tBQrPzWvP+lrWfcWPVmOD0UaOcLN0FANQMJg/RNxUhvFV NfROb96BL7w4sdZYEc5O+oY3hGPvLwkv1clvAC/oaD5jdJ6297hW8YNNzR+PhQ6s4+Qd MOIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SsiTzfOZ; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id n27-20020a05600c3b9b00b0039c1b89930bsor2250334wms.16.2022.06.07.02.48.29 for (Google Transport Security); Tue, 07 Jun 2022 02:48:29 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a1c:4e03:0:b0:39c:5bbc:e0d2 with SMTP id g3-20020a1c4e03000000b0039c5bbce0d2mr1050675wmh.184.1654595309817; Tue, 07 Jun 2022 02:48:29 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (mob-5-90-137-51.net.vodafone.it. [5.90.137.51]) by smtp.gmail.com with ESMTPSA id o4-20020a05600c510400b0039748be12dbsm23200547wms.47.2022.06.07.02.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 02:48:29 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , 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: [RFC PATCH 10/13] can: slcan: move driver into separate sub directory Date: Tue, 7 Jun 2022 11:47:49 +0200 Message-Id: <20220607094752.1029295-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220607094752.1029295-1-dario.binacchi@amarulasolutions.com> References: <20220607094752.1029295-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SsiTzfOZ; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This patch moves the slcan driver into a separate directory, a later patch will add more files. Signed-off-by: Dario Binacchi --- 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