Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp84972iog; Sun, 12 Jun 2022 19:49:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6KoJ7VX5hyD3Pu84wlmu/ebmMb8degzYO7yNpCyOoBPqx30q+VJYNA+9bfFIGSNO7dvdr X-Received: by 2002:a17:906:a846:b0:70a:af2:83ae with SMTP id dx6-20020a170906a84600b0070a0af283aemr49326035ejb.86.1655088540307; Sun, 12 Jun 2022 19:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655088540; cv=none; d=google.com; s=arc-20160816; b=iP2dPSODTvrq21jMQaRlWmypnkXb4YCtGDceuNNxXavxpZ6Yql5mv98TdED3CDQXoK 4YR9bOaE/RBfVsWnXWYZX05ere5J7Bp1Zjht2FV6ujmojfcIYPPgnnZOsK5QZJil22ro 8FOQ4kuj7bHkz9DL/t8k4RfJkoyTSYAWlcsNGpkVVPl/4DXwYDf93u8+WPw92gbWSiZA sRs4XRygkKSRGhiXGORvYtS76b13I/TmIKuFZloXP29/OJ2lKun+/eocBb71AoqraxUw tGQunOlan0L6ydQTaNHhFihYa95pftxS2yFKheo/57BcYseWoJk7G37AqtuWQbZz7J0F Mb8A== 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=jjwnydV5QnxWkYqJXyjZ/IUfCwb1uS1FGV12douQdNPHoiZf+9PUpqvLEQCK6le7Uo uoXg5w1WUzHzoM7m/1INHnaXeOSF7IFGIE7Jjifyfsdupi1hB8iK9yNCPgAcKRp2IRpg f2jrUCg08F5YS2glOoBX9hV4r06fE+jauXtkJwYhxzV1qvGP/nOUWjC2ZuvgdSHjB41o ZDLZ70ISRosMQ/RDVwkxZahclWMj4fc0jWyA/NsTCQwjPgUWWg3Htarn7aM2coaTmP+0 hhnRT0CQXcjj9WYyQITFuqEcRabwMrFWvRCnmiAuyaW9p1aeux7vK2XrRZfnhvzKK1vH s/Eg== 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 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 go17-20020a1709070d9100b00715790f718dsi5378733ejc.318.2022.06.12.19.48.35; Sun, 12 Jun 2022 19:49:00 -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=j683Ofaq; 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 S236734AbiFLVlf (ORCPT + 99 others); Sun, 12 Jun 2022 17:41:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236875AbiFLVkx (ORCPT ); Sun, 12 Jun 2022 17:40:53 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AA43193EB for ; Sun, 12 Jun 2022 14:40:20 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id g7so4931355eda.3 for ; Sun, 12 Jun 2022 14:40:20 -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=j683OfaqxoBiWn1BiwfjXqUk2WaqfT4QdfjP+wHvLbHubm2YMyvvz0S1/wEvj+zBh+ ZJBgSWvHufKlrA0lDhg2S9Gv7/UcrTbeEc6XgSDrfup5cgRcQep+VPjI5gJPmYypelj7 ZBhwEL2jGYTlNsCdrSo+5Srx/Cjp6dLGXP+/M= 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=eZHwEQMgx0EFFCxoBZ2V7u5LOzzMk7R+kWyzsjbqB0wSVufZ/DiZ/7mswjMy0CYrX7 rcikuxHrvYKGrzOZDLGLgsfSg3qi10TJpjPwj1nsLpJs0ArVJrjYTNyqb+9AETt0+nT2 tTpnGRObTiKWipokO6R98vW4lqoO1OKn0i6JnQAX8OewF5LskaqlDWfoF9Uij6amBCp+ tMWGM2d1X/r+TfEJWrXt/WM0ZwaR8Rc/KdK7SfkzSSRdPzh9CY3B6r7HS/cFRdfzYRXL DqhOOyzeArlp2Nht5tDeoMqO3WvdWjVrERgBGgqrftnH39vhaVKkXrRpSK91oXIYlcfN fk+A== X-Gm-Message-State: AOAM5301uAu/n/ARFAgD6FtP/qJl2+u16atmrCBo9L4m5r8tb6b/Adv4 Cl8sW8iAT/enmnyt9+Zq3/eAS9Jk3zM5Eg== 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 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