Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1731736iof; Tue, 7 Jun 2022 10:26:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhcr55lvE2nqNFRIsaqdMwCjhTVb5/y8dTdqDcjeG9jSGzKFCheM7p1kYaFEshIsM+2VFq X-Received: by 2002:a17:90a:1c1:b0:1e0:788a:ba35 with SMTP id 1-20020a17090a01c100b001e0788aba35mr67589452pjd.13.1654622794447; Tue, 07 Jun 2022 10:26:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654622794; cv=none; d=google.com; s=arc-20160816; b=Xtx36OMjuj8wb+3OOXoyAYXtOQ5KVLLvhQh14ZQJcPWwJAcA7bm8ANDsUE8/iATrwq ejcqTz1C9Pszg9hXuv8JfLXlbV8ZGcfSGbo/xMuoRKSORP+DuWJ3IDjj2/voC2B40jdP 13LgAhcJeqoHMuowXKptOlaHMrsUO1YG4oI6o8GasYJIJA8us29s47hXl0iQoYXqkjqa ankuOelo2yNoBl0ZYdvW+95DUTKNr2R3l3eC/XT/FN8GGp6bvJQtReqtz8YfI0xZVcPC IMQDNu581IiJPZ2H5TCn5DpzMypU42NTkKuNO33U+41cE7pvRmObEb7KssgAOBk6uFrt JXWg== 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=fk8bZMyNT/2KuBRASzmCZE/YrWdzGKg6dBkYG4hiWJw=; b=w/FISWzGdpdHGHSQxTnk2hhtX+YHSkv3krpq9ZpZ/MOE1KoKfamwKaAc0F0VU0n04z KWywYt35051MbEgoBaxX6Iyao7jNWOJ5064XsSm/YH86FyP1n9xlLvJH0aZu+XoVMMsn el8cGKJC7hTW7+m1yMyeHoXKk8ULhM5+IYVvqpRQX8QzOal99pjxPi7SIyB+6tjL7oUn 0jLTHuNBjOawvZsVD9kDwl7Or966R6v7GVorq6jtsqQbMW6c26K5g8ecuSprO03f4f4i sHnf1kzSBlv8RV0fI/HnwtLO+PH1Ft3zxRUmHBW95JNQVJtmHC826lXDJBH6pJIlxErt wHsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=SsiTzfOZ; 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 j4-20020a635504000000b003f9d5d48e42si24915611pgb.99.2022.06.07.10.26.20; Tue, 07 Jun 2022 10:26:34 -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=SsiTzfOZ; 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 S240299AbiFGJuB (ORCPT + 99 others); Tue, 7 Jun 2022 05:50:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240131AbiFGJss (ORCPT ); Tue, 7 Jun 2022 05:48:48 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 399C2E8B82 for ; Tue, 7 Jun 2022 02:48:32 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id z9so2223870wmf.3 for ; Tue, 07 Jun 2022 02:48:32 -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=fk8bZMyNT/2KuBRASzmCZE/YrWdzGKg6dBkYG4hiWJw=; b=SsiTzfOZ02QdRLudEU448JckZ0SZYrjEWMdbOw80QQGOgx4cEEZq6rjVu3qT60gpC2 PUFmRc/aOGoIpqIysMLGE6wwPzDf8YeuEXuNKLo3lTPlfzOQlx8u8ufzUTmnuZgZxrsK 5kq7REwTodNGbj8NADbiiWnUtIFrzYPxIqseE= 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=fk8bZMyNT/2KuBRASzmCZE/YrWdzGKg6dBkYG4hiWJw=; b=0eWhC2bQjy0dDQTk7qa73sPQETnQnQhhGdRQwVQm/XIQ94nC1mRgVWHT5QpT0oVXqO OYhjeJer6hy/Y2Vc+10d790KP6im1nItkoYCMO9YyR0qYTlUMqMtQfhpsoGBF+gvzuv/ IkW3ttE19AcbISBCNrtX6NrGtHAmMUiGN0+iaK8VdsysqJRqWlVQidczjP1UTw+wq+FU wqLV9jC7I2zGX/aKcUfqU/QIulm/h5wEWcrD+adckn0HItfbexgEO//SNfgbPeBztLVu JEbnT5VoQCZJd2X162Yy0iCxFpcamFkyaEiV1NUelPr/aeQehH0Pn2LTCDDTT88M66ml x5lg== X-Gm-Message-State: AOAM533xbQDVJx+qssamXZ19Soqo1k6F+7WBCJ0zDnybuS5nOCT0EtZB wgOVela/16IPzotm4a83xFtx1NxROfK/vQ== X-Received: by 2002:a1c:4e03:0:b0:39c:5bbc:e0d2 with SMTP id g3-20020a1c4e03000000b0039c5bbce0d2mr1050675wmh.184.1654595309817; Tue, 07 Jun 2022 02:48:29 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.pdxnet.pdxeng.ch (mob-5-90-137-51.net.vodafone.it. [5.90.137.51]) by smtp.gmail.com with ESMTPSA id o4-20020a05600c510400b0039748be12dbsm23200547wms.47.2022.06.07.02.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 02:48:29 -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: [RFC PATCH 10/13] can: slcan: move driver into separate sub directory Date: Tue, 7 Jun 2022 11:47:49 +0200 Message-Id: <20220607094752.1029295-11-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220607094752.1029295-1-dario.binacchi@amarulasolutions.com> References: <20220607094752.1029295-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 --- 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