From patchwork Tue Jun 14 12:28:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2074 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id F02D73F03E for ; Tue, 14 Jun 2022 14:28:39 +0200 (CEST) Received: by mail-ej1-f69.google.com with SMTP id q5-20020a17090676c500b00704ffb95131sf2812945ejn.8 for ; Tue, 14 Jun 2022 05:28:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655209719; cv=pass; d=google.com; s=arc-20160816; b=hwMj3dGAo7kuBAzwdy+c/8tArGehhWY0u/4n2d2fiWVxLfuf84s04/zqSko9zkKGyv 9ehcXlJ3wlGpbpdFXSDMt1ajAVhTJeC3nQEnz9dJy9Dgyxrukkz7J1K35/ihjXtXwRpi UQGOdtlido+j3rTTiyWoMZuWS5VRYV7QBrmzoFCX2pcjabRZdDgi7baqIblQSeaoPjA+ qL9QnmCJYMooXwx2BIN+TI/1QMVikW5M1ozNIq3UwlmDUhLtYS/DN8vqilH59rHPHf/o yIzhOy9il98ALnDKULa36VaxXzdhzDL0QY4JLee0Ku5Z4tA15qOo9DhgvMzRYmjBfory DG9g== 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=YANPbUjkX/aBZvCw9F/0TwRjl3XhKrnACFYudZCtbBcaTPp0RVxsJ/ozRWTT0wt6Dc JyThQZM6j7E4R7uJE0zJeLkx0ke3HBNReD5B4TlDjapJW8ZBVJpagn6bcpqGHqIQbXMM s0d9tvsBc2XSjT6FCGyXmYE4AIATpLGlVNAqsqEfbNi5HxHSrEFV2FbtnKr36l3I2jKe WbeHWmonWeQlDX10OTYTyhaRY5mEJomHz2GopFLTN/J6MUtDylLwFBzE4Y3GsT3RCNjF kEdB24vjcXU/RhzsynDv3ci/s6fb2yFOi5XUonugsl+KTi6c34gKh2tFP3aBR+Qkp5nV /SfA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UeS+soY0; 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=ETJOQyRc4FMNIFQD+CoBMLmFYG92T6fv9ka2ZWiGZxR1+FzHQfQroZp4vTsaRaGGbC HGVsHt6VYlX1Ki+z9nencIFID6YK7lKnw41lO75WMsYf+DwnDFpxE4Cie/181LMkNqh9 /r7yD9vw4QK+BEjvre8zZreZnzUhDt3j8sg2Q= 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=TRxSMS1mzSPEtOk3vSJD5PHysSpvDCMQKPzIJ9Xx8akTFeVMrNGGjMbi123hBB49dv GiW8QNFiLU7joGmmLJy6ESyafEaQm+dASSWfVg+yS4x2RXipsJZTLllW5ewsXcH6x7ag AtqFSBSswVg+WUcNGHp7/5iH1BHFAT6/+7XoIHUVLvoMDuHvUiQJ8bWydcOOUQSZml8f m56i2IcZA7Y5O8s76V3GNgJLdagMBXy76wY0Pc924jcP2Ey+dwI56SFfqHW7JADZjInH fhPRzKPw+kKZCfZKYuflnP+j+BXwmb3IMJvZNw7v00wbsReLUOuUDzVOh9clunzlobsd 3d0w== X-Gm-Message-State: AOAM532QFeNUAQlkwiqTlJO6nF7MVxBeiy3Jn8h5MTIJ6RunNXY27sFY U43iHdlCYcUwvOg5EKR5HtzYIQr1 X-Google-Smtp-Source: ABdhPJwj4nSwDKlXVCr/6wod1qiCy3OR4iX94YLC5ffyG9raSDwnLMqyu8hYSb4aLBLiBHqSw4SoEw== X-Received: by 2002:a05:6402:358a:b0:431:20d5:f4ad with SMTP id y10-20020a056402358a00b0043120d5f4admr5765448edc.375.1655209719803; Tue, 14 Jun 2022 05:28:39 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:906:6a26:b0:70a:1088:57d1 with SMTP id qw38-20020a1709066a2600b0070a108857d1ls992544ejc.3.gmail; Tue, 14 Jun 2022 05:28:38 -0700 (PDT) X-Received: by 2002:a17:907:e93:b0:711:ca66:6d06 with SMTP id ho19-20020a1709070e9300b00711ca666d06mr3941058ejc.477.1655209718631; Tue, 14 Jun 2022 05:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655209718; cv=none; d=google.com; s=arc-20160816; b=u2GyZwRUAj08SREcC05YFdxuOjh7ARcQ2b6U1oMl1tBQlD9dAOnJp6/bpeQjlbiGZ6 aEuwwEZXlPxFsCI8lVoFEcYo1NEkymgEKX8HFCfjWA+/0pVOTj2A3PCZUvwgyzoQDxdU lNAQS2oCCqW4FGYkK7uAV+2lIXNyxhz5md6TUiRNzp3ziuLIXzoZ6teMJsNqaa3EGHce Hp9y8SeDiz8zMUgCNjaYO6E5w+LkKZ0FrDW+Pq2+BxruL698ickGBQ1eIvfoeWmw3cow 3FRdJNhuDKiT+G5dMOma4Fo0KvKaSeSOVnrdJO5edDdlfX3wJzyQTMEZksxyGL9cotne n48w== 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=QESU9k2Otj4TsIUk398WqEz9IA7UhoSPnvNbpY+mZyYg3Y+xTW8AoOsV+q5tpPwwd8 4QE3Pu+1r5WtTACLuSHh2pSNVVUBkzPTRQPZoJNmph9UpB8hGozgAyBVowUo2GJeBg8E 0rJ9XPg3O3oKOEoaYn9hBaWEumLlJROZDDqNx1FJrCdT3Y5zyYVlCN+Scv7aXpzHUoiI Q8cpoRq0Ql9INNy4RJP/gV9da6gWnXZOnxv8I2GiTQ+cxWKb+H0Tv8uKtz5xRVoNWiWC /Isf23sk7aISAYVYPhqPw+wN9FBIgovTpPpwFR5gkQi1Cuo65kE4U8ptm4AH4iAnMId4 9xnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UeS+soY0; 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 ja10-20020a170907988a00b006fe88301d74sor3160236ejc.110.2022.06.14.05.28.38 for (Google Transport Security); Tue, 14 Jun 2022 05:28: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:906:74cc:b0:712:381:9c5a with SMTP id z12-20020a17090674cc00b0071203819c5amr4079949ejl.466.1655209718386; Tue, 14 Jun 2022 05:28:38 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (host-80-116-90-174.pool80116.interbusiness.it. [80.116.90.174]) by smtp.gmail.com with ESMTPSA id z22-20020a17090655d600b006f3ef214e2csm5087043ejp.146.2022.06.14.05.28.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jun 2022 05:28:37 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Amarula patchwork , Oliver Hartkopp , 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 v4 09/12] can: slcan: move driver into separate sub directory Date: Tue, 14 Jun 2022 14:28:18 +0200 Message-Id: <20220614122821.3646071-10-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220614122821.3646071-1-dario.binacchi@amarulasolutions.com> References: <20220614122821.3646071-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=UeS+soY0; 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