From patchwork Sun Jun 12 21:39:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2057 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 166D83F1DD for ; Sun, 12 Jun 2022 23:40:20 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id g8-20020a056402090800b00433940d207esf2981461edz.1 for ; Sun, 12 Jun 2022 14:40:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655070020; cv=pass; d=google.com; s=arc-20160816; b=q8+A/977rc1tgBBfgRzKFgJiulol/zsnB2G3KypNLfjMRNpYJH+EPwP0Pc/DVvjuWM om2A71wXkC0fSlHTf6Lg2liW3KPXyTX32+cW/HJWn535HCr2AuSviQJGTORYYv1AFkWr G1QyqVA8WkYMb+utE28mDNDuKQhhMs5n8IarC2dWQZw2y1fmQmBIJoeKaxrfKA7fDYMy Oo0GcrAC9fEYnuxk4k6ehuBOQTWkBNsdwLvAVCzv1Wj3E0w41RVpCTSIiaux3MH2C/2C mjoRqNKYKotgGKB7n4chCx4aTOxsiFjFxFxhjBG17w3BsxnCD25nbz7CatOp0Zfne+cM k54A== 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=064Ujt3yyooB2SXAx+uvxqaojvtFhQV4Y9FQKJpbDXXf3eyWLUKughiiXT6/6EFweQ CNlLosGPgKyAO0+xyuXTqI0PSMewbECKcydqljjtkfU3JREWT2zOtgElEwcuNKs+rfze hwyE6UwlKNwrgRGvMUZPzFrcjZ+sgvmzxPq/5MQmX6rqGt/b5ndNau0KimVNVXU9TZZG BLQL1OIB2puBW6ipwicIXMdAA1WHfETp/OZaResmsXl7h/M4CR2f72HGz2dTo1V5CC2b YvTn7jnhz35arjcYhWoepjhdrgbLFriMzX+huG0xaUsd9HSGcjjnqRnQeDToFi5TpCpx BJDg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=j683Ofaq; 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=Ln1jPf2SpUn9e4gUVJNZbUYYNSr6rBYwCMXSctLjgbFBDnVto/Sde3h9pWwNX5628/ s8dscGrLj51tZ8gtRoyNnWOmV1SZ9QXsLOxjM5D2ADWCVSylgwu/sXNXcClEjeBFpI1F A3mNkPnnHfvca9glOX5vLIiGQk1bYWVgQRUjw= 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=BgIBK0bUjeAUig1HPqNOx1RLTIyF3YRj69w3HjMfSUID/UfnJCBG4jZl3e66STdgCS 4PLP6RE/2OB70QMhnELrYFN8hVLrAiTNAon9Shol+rHFCk09YQsrOKpM+3oEbTHREAZ1 dzZ0WBqIDN0qPj556Y4nGjfMjRFYXM1zDa/etxZU1HRCXA7hEn8GYf2ASV4AK5MKyUMh 5FiAULNtXIP6U0uuQzsW3w/0bSHUwQbQkXIC3gNjuetvsQTMGJa3wQRMNqSdJTwaO8TF yOV+kjcVEL1UbDHI8XJTZpClzFChCf19Gbjd/qtnKP8Nuzz5dC24hPi8zGZ+GeVExmGP 8eIQ== X-Gm-Message-State: AOAM532SbRqdlg0kQgU5UyToPdMiYu2r1f1DrZWyBmZPLLExv4QBWPYU cFzdGXdCbG/9sHuv0maWt8SvqBDb X-Google-Smtp-Source: ABdhPJyGyv+ybdo8aAyOX1HRZJb6CBRzjMY7hAu/IuU8U/tw2IizJHA9234g8sDrESmtJ6o6+6QMqA== X-Received: by 2002:a05:6402:1386:b0:431:6911:a151 with SMTP id b6-20020a056402138600b004316911a151mr39285652edv.105.1655070019955; Sun, 12 Jun 2022 14:40:19 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:70cf:b0:6fe:d027:3c1f with SMTP id g15-20020a17090670cf00b006fed0273c1fls1009711ejk.2.gmail; Sun, 12 Jun 2022 14:40:19 -0700 (PDT) X-Received: by 2002:a17:906:804a:b0:70c:1dac:9bb8 with SMTP id x10-20020a170906804a00b0070c1dac9bb8mr47670120ejw.92.1655070018882; Sun, 12 Jun 2022 14:40:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655070018; cv=none; d=google.com; s=arc-20160816; b=FOE2PCZH8yNeIcoJhDlJdcKI1qzs22BIezlie79m2xIr2mOoqo/kzGL7toA/XaOG2x 9bewIGUbRdXlS2izF8EulTTLkq8Bda6bR6iIWhnVSAJ/I8+gl29ZD0M2xmrB+rqb2pPJ RALtt1mIueKunv+sr/qGbrp4mgZSD508bAHJfQF6IBG/1npiCWFQfwxgmeU8eVSfoFHT YOMr52mW4q0dy2wDFMyEJUbNWzDzhWF/QQDX6clnUhQDb7b13+gp+s09MV/3krqQ/fBF caIAyzadEivk3qm+qPhzJ7zzxJbXO4lB4pyZ17blg7rvb0+Mx4A1UkLqPJG8I6UbvrAd PpkA== 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=pAR9IdlIQ2exqkGD14QLOo4MZbXmzPlTXN9DY6TlgV7o7SAoLMALJ9ckskmRAEkQEh +04QGfWOVJmpQyWfrolmF+teD6tSQkkv7xrVfY/AhPWlVZBWuNWi/JsZXwCUApLIXQzq eOE8Y+lxkS4mhgzKy3iKG6ZAQLdjIAYyYlBr/fbwk/95SuXdL90e8mGf18pntJ4vSKqs fCUSApwBB+fMuP1YPInrWSN2hX2rhwtrLl45s7bRvfzgQJENQaOX8CufiVzvsFkwi2tT D2sXkN6h7vQYh87XMdu2W+3IhLvG4hpkgzkfdOqJMFkT0tHzJE3DG49E4GgQZ2Gzxur0 jncg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=j683Ofaq; 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 v18-20020aa7d652000000b0042bcb9b1149sor1626329edr.6.2022.06.12.14.40.18 for (Google Transport Security); Sun, 12 Jun 2022 14:40:18 -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:aa7:c34d:0:b0:42d:ce57:5df2 with SMTP id j13-20020aa7c34d000000b0042dce575df2mr61797916edr.315.1655070018727; Sun, 12 Jun 2022 14:40:18 -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 u10-20020a1709061daa00b00711d546f8a8sm2909398ejh.139.2022.06.12.14.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 14:40:18 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: michael@amarulasolutions.com, Amarula patchwork , Oliver Hartkopp , 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 v3 10/13] can: slcan: move driver into separate sub directory Date: Sun, 12 Jun 2022 23:39:24 +0200 Message-Id: <20220612213927.3004444-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220612213927.3004444-1-dario.binacchi@amarulasolutions.com> References: <20220612213927.3004444-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=j683Ofaq; 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