From patchwork Wed Jun 8 16:51:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2037 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5A4D23F1F7 for ; Wed, 8 Jun 2022 18:51:39 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id eh10-20020a0564020f8a00b0042dd9bf7c57sf15313857edb.17 for ; Wed, 08 Jun 2022 09:51:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654707099; cv=pass; d=google.com; s=arc-20160816; b=HYgp/C50TQVaLsrtJHRKpRzPr2N6iXjQ3vHoQwacUuZfvlfzKYibkHMI8Rd5OBkXmI gRNG0p7ndMcJhW68pc7CQwkayXPxOJNlrpW1M0bGhFAiQB7Y+HQLgeYj9HdOUaDGAAri EkmAEa7Y5Ge52ihYoMD9s2CVTKgaBsFlOKYdXM5rP/kN5R48/tYrhCig4SauEQGtJC87 4teiVkXaB7lgB7srlsjrp3pM40oLEv566TQrOJSyYJqoakJd1huhapooVJ3cYkKGwWoZ gbghQA6ByxcrCJM3yqt1XSKqUGXBHMXK16v/4Gwf0XWtiBRM+0m1ducB2K8oSs+CBIZw iqqw== 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=twhaGH9dYnUFBeFVv67l8YXUK5583uiSpZw8Kj0U7Io+JElDvbmqGEeikeV9tMnY7B tk85kZcVB0ztffk051MYAdLvi2/J+0IJhluFkHF4PYVWm6wRCUjIDRQnBtYUIZCUa4k8 FN1we8eoyx7fcizC4yZPESZF0E4XcAro1o238CNub6yOmWRkEC6DoJS5YLShOXNpyq2O aji9kDfrJHS2zNmCnMzQvBY09h13C4D/J8PumpHeP40ZZTuhAtjBheKiRTrPbT+iRvHT 5Akx2KhBwrr6Xu29ArbFBQk2E3G43lhcGUZPL/WTRh6/6kfvFvWpbIDqvoQe7IuZz+gf N/1g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PkT9jSzS; 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=naEGz0t8Tt7XVuA8A2/+0FF3j6OoSM7vxQhpw8pEF5NNDpergNW7zmArbS48qOmwiL VfOrJXGFOFuJrJPIE12YnPXELFznugEHcvztnEVwwfn7bAlcbfocFGfmujhnKvV6LXZi u+IClKMpxkvJEr/JxmKjaoFEl6jvxU6Yl6FOw= 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=dRGNVSR4SxvrhBQ0SGRy8/0CVWloz1HkCB57WMrgQVsIKmzIZyJRfsTjgkmflhsjMq RuvEH/kiH8xaUvGBX3NeUBUVCfqSx0LcW5rQ9KjulnPgN9RPc2wlKiIlzsmMMT4peoSh Bb9BHhEMeLTDU3GAenEGa9J3YGJcsptUfAQF4KySchhAFNwiTr/BkUrM4DVSVziOcks2 TxhLNBUnQoJFwE4wFthDBMKUARe1Xu1nP+hh24GqMSZSrV/LKXKe1QNoG1bR9nylZZjH FRPo2qeXOF0mBsuCpXHjD9lTOK162PEaiguxrMhOSrR7p4RSRakswtHIRq1Vj7EFehQj CJkg== X-Gm-Message-State: AOAM5328YeS8jF3Ur+HEfrb2sH8i7P+LTXfGxffUFnKq9R4N2vY2Eh3C CNiFCbMYpctvY5QkUCs1pqnb7Lo8 X-Google-Smtp-Source: ABdhPJzGFEtDV6anEBz1884OH2P6U1WiDLQpNRMJGiFkleF1mbofsqH+ktfvXksLn/DLrUUgDfSxkA== X-Received: by 2002:a05:6402:b03:b0:42d:ce84:387a with SMTP id bm3-20020a0564020b0300b0042dce84387amr41246984edb.3.1654707099170; Wed, 08 Jun 2022 09:51:39 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:5414:b0:431:6a31:654d with SMTP id ev20-20020a056402541400b004316a31654dls189960edb.0.gmail; Wed, 08 Jun 2022 09:51:38 -0700 (PDT) X-Received: by 2002:a05:6402:2409:b0:431:5c52:8128 with SMTP id t9-20020a056402240900b004315c528128mr19327446eda.290.1654707098224; Wed, 08 Jun 2022 09:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654707098; cv=none; d=google.com; s=arc-20160816; b=WR1GfkCz4xqonBYUtfPI85cABwfSmOPaT3AUmvooSizphF75YeD6fql0+lvm10U9Qn o5jE/ZhvML0hktWeMaMRYGqdhVirZYLkO2lP1EvxyRATUNf4tE1bvB7rDds59o1VaW6N 0iEiouOXhs6FSjcsz/TfyJ1/efszlgTs4455YXQvhq9FR/WWvroAi6YXR/GBbsMIGXpl AgXXyNIsg8HkxOO7ra/IUKhtDXb0g1BJmOd2US+zXnQGlBMm33himtCYTh/42G7ZO8Dx cIxRl1gonpWivFR6NYiZSiTGIImdxxCrBi0lfuPjIZ3M6JyIzrGZ5grfXn8GrdwZn0Ku e3tA== 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=PGmXV0sMVgkJGvxptSRAHnhhSMaS60Qy/8xGpcVP74dnhWNLqdp4Up9ZKvlD99JDA0 aewDDoI/IxDEHuXFvVRB0+GhDVyDGBxUWphIY4i701+WGjXZI6ocV6awSHK+AO/MUEei fyBlyc0m/mggjSWcGXjadFLR28jYqtNHrDBaxy4UP9mss/t1p0en3ub4w65xEJpOs1dG KUgS97Zynn/0MNzMqDHnHCZGBceRjrJjZv+J6tdj42UPDgxOujxdZtk4/95VNgGbbZiC ZS1MYqxUkHX6SzLo2PSinEHqfv4Llxo/8BpX3WepOVAzN97pa5hWpVVnaSMfILOmosX/ ITyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PkT9jSzS; 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 p7-20020a170906604700b007033fef81a4sor9779603ejj.56.2022.06.08.09.51.38 for (Google Transport Security); Wed, 08 Jun 2022 09:51:38 -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:9482:b0:6f5:171d:f7f5 with SMTP id dm2-20020a170907948200b006f5171df7f5mr33336054ejc.68.1654707098018; Wed, 08 Jun 2022 09:51:38 -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 c22-20020a17090654d600b0070587f81bcfsm9569071ejp.19.2022.06.08.09.51.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 09:51:37 -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: [PATCH v2 10/13] can: slcan: move driver into separate sub directory Date: Wed, 8 Jun 2022 18:51:13 +0200 Message-Id: <20220608165116.1575390-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220608165116.1575390-1-dario.binacchi@amarulasolutions.com> References: <20220608165116.1575390-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=PkT9jSzS; 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