From patchwork Thu Jun 2 16:04:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 1995 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 768F23F06D for ; Thu, 2 Jun 2022 18:04:50 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id i20-20020a50fd14000000b0042dd305d0f7sf3770888eds.18 for ; Thu, 02 Jun 2022 09:04:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654185890; cv=pass; d=google.com; s=arc-20160816; b=Fvd62fN8H0TsvjAl/tIovtLGXNrpozH6rSuz1KAHf80evWYi3I64r5xldCDSizxAFC h/Z8xktqasIzQlglBcCK6Xj1VcSNVmLaVdWOz5XSzgVeNC24mxWBf5C7Kxt7+qQazttd YZcpotGBSEZSo2mvZI6qMewrFQMy8Bug208Mi5MSUkfE0vZc2yntOWyIK6jPTESgndp8 niqrUkMVOCON0NhP23pfF4/V4WMGAylGYznV6IHFgQNpSH8K17NkEX9X6yd0yE70w9Ak 8wb/lv4/6dqQfOMH7fGKr0YmhinuogGVN1WSJAaz4bmh2ypqP+Pm4Rto2BqSQItBT5+s eI3Q== 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=KkTio8KY8smKadcZAD04312fpzVr7gEcjG/2tHvlbTA=; b=hkROXPEUgLy0Ybq09rDoNzW+hmIeKKpM8M6+fc4Spd1o1SLGsq+/WmDmKYgR7Y33Co VOAjpTRtfZGDlaGg1fQnBYh5Pw1CMvmmdrGhNA3e9ZGgCxehXfaLQU/TobZLYYhLypIv Y6oUWq7LNPcFUpR5uG5aBhjrAV2IzfPuIfyeoIIHXvEnmaUiGAJzqEEm5kJSHprkUevT sVWlxRm6KC2o/ZlUUMu7iulBh6LXH7atBYktu5DLGMXLytwbzJta3KzCcsikHwXyCphG zP4u/QyiiybGhV2Od8S2z5A1zcmautMY/PZZAt+Uo25sAzQ2q3cOULGIDj2XD8ZcmclL tbfw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=OgaD4kNz; 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=KkTio8KY8smKadcZAD04312fpzVr7gEcjG/2tHvlbTA=; b=Uw6nTP6+lCnWb3nLpZsSwLZWiHi+elVoxrOomCwAXT4cQyd2NCd6wwWRNNMu6IXLvb hxDQ5iabys8DuWB1U6xgFjJYhOiHf55Wo+s/Whiuq7cfk53fYprdQIrjKlF9RhLwuTvP n9jvrnaGXcjjPNZfk4lAzgjU8ZiAqBx8ahgxs= 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=KkTio8KY8smKadcZAD04312fpzVr7gEcjG/2tHvlbTA=; b=Dd3dffgKk8B4vyK9OyWkQlx/hhvtMv2G+fzGSXhlOe1VzI59N0RjZAL6fmdKhFzrth kOubfaDHQ90pxTH+7kzKV5TMRz/lFVNOBejRQWdzyPFWbmDr+YBZFn++w4z7VkbcMqNs VsFvN287iqqC10m5gn5FZSP9PpwAhL4IPTRqi0Z3KEzko4oTudpgSdDqUPgHLgO2dXjB GpGsoLoUfq0zWHp+LeRuqEAuBrOZAWzRWkXvp9TkAV43Y7Y0yBEI9lajO1zitgeZsAlz AC3ZiOWcfu+/rvMpptfgbOKGY8O06eQfKNR8xz+VAQQrZnAEsoohymMXso4JhZj6HSLX ZiNQ== X-Gm-Message-State: AOAM530QJZiwx9SjIN6uFaO0xOe9cQISN93wtD7DneJFiWe+2x/Eg3a4 10MYrZDN5oHEaMG0KEarkkOjZkOL X-Google-Smtp-Source: ABdhPJxLkdj84wa8veE2DRJxxJha+a4fvGTeaHc2Wrp4ZKtL5ympDwS4PZPYw4wynC6ETE8muQujAg== X-Received: by 2002:a05:6402:2790:b0:42b:7534:57c3 with SMTP id b16-20020a056402279000b0042b753457c3mr6188623ede.349.1654185890368; Thu, 02 Jun 2022 09:04:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:907:6e11:b0:6ff:232a:2406 with SMTP id sd17-20020a1709076e1100b006ff232a2406ls2157549ejc.0.gmail; Thu, 02 Jun 2022 09:04:49 -0700 (PDT) X-Received: by 2002:a17:906:7049:b0:70c:a5fe:d4f8 with SMTP id r9-20020a170906704900b0070ca5fed4f8mr1328991ejj.493.1654185889376; Thu, 02 Jun 2022 09:04:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654185889; cv=none; d=google.com; s=arc-20160816; b=YZ9lhKa9FIUdS7U6jhKcCNt7d4NwsQLMCTEJGKRj2Q78PR3814uHNrVBLaZ8t6EIpH PCDQBYA78bW1lNeskaCJjGIvs4XpI4l4KIW+cj3mROow8JGWbe6zJ7pEAXYpt2XHV6iK jh01vJy/1TOLF2z7R5qEr9PjTZkgX6iBxaYsVaaDpu5ADAG7wtnJvSbgEJiRQKJH92Vy JGAmy997J1jOMmQ3LsLibne448koFQJNjb5NvJhbbX3Yx/XmYAslATsGoTtO8nKcnXFn 2P6VIYQEzbWVo4uaP7CZl1nZU/ptivfkHP7Tatlc8fYYMUyJIRTni1cB3YWZ62ba4lZY +j+g== 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=s1QllzXGCUo8JTE+hOZVBSnNVj6x3XTlbwu5/oui3J8=; b=zVdTWr+Up31lDQVERaa+sPCIFDgmfEpR25Vq/U0LjgE0Ndb45e1VL6gCkuI319oBpi 7SnXYCGQobavmY/iWxy9yDBqvyIGGBAtEpYPrhwUl+mTPUaq+8mWIbBum16Ug6SWvdkJ utYO0+bCrA+zgp5q9dICCxat59Do2zt7OPWpzIU7DCEu17JX+43am3p49I4PzNVesMfN 3Cqjyz2Yx0Ausfu7DUWu6NRTGrma90+FWltj8TYvtMcI1dx0+GDBlce8B6pjQ5TlNttw JekNoP/c5m3SxBF5XR3xbx3Rx7sUEshsPcA9Z5jtZ8BjV9nIBGsDI3qFBuZoasi8R0V2 CVtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=OgaD4kNz; 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 fv33-20020a17090750a100b006e867333eeesor2579670ejc.16.2022.06.02.09.04.49 for (Google Transport Security); Thu, 02 Jun 2022 09:04:49 -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:a17:907:d26:b0:6ff:1670:47a1 with SMTP id gn38-20020a1709070d2600b006ff167047a1mr5068568ejc.362.1654185888672; Thu, 02 Jun 2022 09:04:48 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-80-116-90-174.pool80116.interbusiness.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id f3-20020a056402150300b0042dd3bf1403sm2637095edw.54.2022.06.02.09.04.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jun 2022 09:04:48 -0700 (PDT) From: Dario Binacchi To: linux-amarula@amarulasolutions.com Cc: dario.binacchi@amarulasolutions.com, michael@amarulasolutions.com, tommaso.merciai@amarulasolutions.com Subject: [RFC PATCH v2 10/13] can: slcan: move driver into separate sub directory Date: Thu, 2 Jun 2022 18:04:31 +0200 Message-Id: <20220602160434.225417-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220602160434.225417-1-dario.binacchi@amarulasolutions.com> References: <20220602160434.225417-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=OgaD4kNz; 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 --- (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