Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2743175iof; Wed, 8 Jun 2022 11:04:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0faF6kndZrwG37Mt5wYitSTQ01qOwVgupuyzqYpIb8TS4gg0GvahAg+LKMvHxBFaM4BEA X-Received: by 2002:a17:902:e80a:b0:166:3a24:4572 with SMTP id u10-20020a170902e80a00b001663a244572mr35120942plg.30.1654711452262; Wed, 08 Jun 2022 11:04:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654711452; cv=none; d=google.com; s=arc-20160816; b=l/Jp7n+fi2zh42j8Hq1yBpWvQ5CY+FUD7Kks8MbtH6ITA1kfQqWqx55ySFETkuh6NB uqeP9uoFBsyrfsxznn5YwcNuJjLrCdWiw6k1zABQlOOEBJCwfEwGoJ9eBGBVV6jdlQMy c1EYXybV3bCgx8rz3CBlFXhfDDT3l1jeHupR6/J5Flu1yZjukFBqsP1DmQhgmOyzoxid w2a6t0FGl4pb5nY7+eGT75VL7N2/piJfOijFPukmBrp7fz6oQJul0vBlxbtMpp2qBCzT Famfu3UkT8i4YjOZygg6mU/QfUzMsGZ962GdxFv+Ji2ZXyW9h5B5vdFRJ1jSV+F/OFQJ /6xg== 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=nouAlhTjvG+6oXHDMYVuuqPWDTO8ohWhEJ5tz1neOrbxLnb0V52jJw9Os4g+9mibMn VNxFeyc8rO81zSHGezLsRLKiU0UVwHaswrH121UXR7udgSqZcAieQv3Dzg5d2qkeq2jG CxZHdigJVuyiEByhhr7pqS7uZsu27N0DnEycTPZsDkEBpA9vJj2opNKodxhbqFDl+eNs s/uazyRepNjc5GSV9NL1SBEEJXHTnflanxHCyQ9yhi8DFG1spL0NpTvHn2CTwUNxdKpv ViVQ/BKskHVd3vvdknlOj+/q1L/+FJiVOdw3zyMffAcQ5QmkdyWe8ztfBa7XJzNdC5xf YzqA== 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 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 i4-20020a1709026ac400b0015e8e1a32d6si1997638plt.603.2022.06.08.11.03.53; Wed, 08 Jun 2022 11:04:12 -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=PkT9jSzS; 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 S231326AbiFHQ5p (ORCPT + 99 others); Wed, 8 Jun 2022 12:57:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343850AbiFHQyb (ORCPT ); Wed, 8 Jun 2022 12:54:31 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA8973C9661 for ; Wed, 8 Jun 2022 09:51:38 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id gl15so28761732ejb.4 for ; Wed, 08 Jun 2022 09:51:38 -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=PkT9jSzS4isGLZXYztnm7o7vihYHoIHdoouV2PmxWHm+ZtkDJguI+SyPGHfY3BlHN0 eex2ws/05yiq4L48cvhQazSfP/UoXuMi+2wqtFGQAWA+C6Cu9CdGYqxHroe3UBakK7Mv wEzRRXTa/ZhUMrwFiKB0Sd8oI4DuYGM3i1pF8= 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=XhYJPgO+s2UrOF8YvgoOyN5mHiSQDE7mlqhfH760xLx1Xo/xeE+iyYl5EeIbAVGoBR PUmORT6n7HxK63rWqX77e6T7Yhy1V81JDdboPMAECNlW4FRHOPSdt0xd4c+aXl2wdmsK qm44HeTRHawj0ZLLLd2ilR4jYN3Dc3va8jaT5gUQDhLx4lE68uubPZKT2iUBoW2RIHJB 14p93pMNAqNRutz7OyUPeYjixBUCxAOmP9R3UCUPaWF17GwrBa3GizGWjcUVvzov0dLu jN7VHTFXHleyTs8dwapYgMXyQqcpYpGQ5YSbDa81LqY1dN6G3yYxsOccP1BMSTCjjHk0 gsPw== X-Gm-Message-State: AOAM531oazsjoZHdaXGtEA2Eq84RGdrgRY+XpLR5554mmQTOu1MY8Q1x ArQ/sY3OuJZi6JdTKhNM4QfQGzG6LmfWHg== 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 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