Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5080270imu; Tue, 13 Nov 2018 00:26:07 -0800 (PST) X-Google-Smtp-Source: AJdET5e0SWWKK9606xzH/ZcoENm2a8/DtnIEPnVB17SIJ/Aat2eAJlf0MQc5MZEmYESvMCLwidiW X-Received: by 2002:a62:114c:: with SMTP id z73-v6mr4108484pfi.192.1542097567084; Tue, 13 Nov 2018 00:26:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542097567; cv=none; d=google.com; s=arc-20160816; b=FuM3hN2FgVC8D7W5PCY4t/py8dl6Hr9MfgsBfXwK4vOIxfp6lxrygHviTDiJ36p+XO gbsqSu21zFCM1F/k9xWCZdEMp2MKggMhvrNsBoSJL3a7lud9T0PvgQ4iCQsV/R3u9AOs 2GWMkkjRlZiraaAHjFBVNfzyCbarsgOMdRuTsw3OAfDKMxXqhuuyGh7kzAGngbNGZk0M kFGuTN7kpYR6aeMRMlKIWEovB1H2V3e99jtSFqdI8hkc6GePjwzHbelTBdc+8/a0JrO5 ioqz2fFFpZS2Mj/GwoNjAb0S1MdOmxE+qoIhXq6jSfBoI3YNzsVx4TyMBzvVnSADOMO1 MI/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=M3PPrgMw1LRbsgvRBHuGZ3MDqU1KGUDg8hX7s+q4rFU=; b=eMS+dSDbSHh4RguycFaA1MueRfprz5m/sB4TPvJBQ/0+6DgEDfyWCEbrwQNGRDovGk x2m7SbtvU6f6quMuXVHMhlVRXlLSXJxP01KvSUwAqQMwxn6RAeuo6gaCneWKNh/bUoxh FJmsxEX8ZDwthbfzlUIp7UuLMFwxsfrLw1YByTzE90e4RsqirFTvjV36pkyc+8j4j6H+ XjV0WK/yyNCfThRaHO117XPfd8QUrI9AW7bSVEcBiW2VV/bDfvJu40F7LNFein7FHt89 vyHIY36OUEudJ/bmI4d30mtMjognHelVF7J7YJWtc6kDFaBp9jqRRbUzyVzDHfqZTlH3 4w5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p189-v6si20775650pfg.235.2018.11.13.00.25.52; Tue, 13 Nov 2018 00:26:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731470AbeKMSVW (ORCPT + 99 others); Tue, 13 Nov 2018 13:21:22 -0500 Received: from mail.bootlin.com ([62.4.15.54]:40223 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731347AbeKMSVV (ORCPT ); Tue, 13 Nov 2018 13:21:21 -0500 Received: by mail.bootlin.com (Postfix, from userid 110) id EC50220970; Tue, 13 Nov 2018 09:24:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.2 Received: from localhost (aaubervilliers-681-1-30-49.w90-88.abo.wanadoo.fr [90.88.15.49]) by mail.bootlin.com (Postfix) with ESMTPSA id C014A2039F; Tue, 13 Nov 2018 09:24:19 +0100 (CET) From: Maxime Ripard To: Hans Verkuil , Sakari Ailus , Mauro Carvalho Chehab Cc: Thomas Petazzoni , Laurent Pinchart , linux-media@vger.kernel.org, Andrzej Hajda , Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Mark Rutland , Rob Herring , Frank Rowand , Maxime Ripard Subject: [PATCH 2/5] media: sunxi: Refactor the Makefile and Kconfig Date: Tue, 13 Nov 2018 09:24:14 +0100 Message-Id: <346556f7586b574d35bf3061adb0fe42446f0136.1542097288.git-series.maxime.ripard@bootlin.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Makefile and Kconfig for the sun6i CSI driver are included in the main Makefile / KConfig file. Since we're going to add a new CSI driver for an older chip, and the Cedrus driver eventually, it makes more sense to put those in our directory. Signed-off-by: Maxime Ripard --- drivers/media/platform/Kconfig | 2 +- drivers/media/platform/Makefile | 2 +- drivers/media/platform/sunxi/Kconfig | 1 + drivers/media/platform/sunxi/Makefile | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 drivers/media/platform/sunxi/Kconfig create mode 100644 drivers/media/platform/sunxi/Makefile diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 3c8b15ea957f..52cc41f63df3 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -137,7 +137,7 @@ source "drivers/media/platform/am437x/Kconfig" source "drivers/media/platform/xilinx/Kconfig" source "drivers/media/platform/rcar-vin/Kconfig" source "drivers/media/platform/atmel/Kconfig" -source "drivers/media/platform/sunxi/sun6i-csi/Kconfig" +source "drivers/media/platform/sunxi/Kconfig" config VIDEO_TI_CAL tristate "TI CAL (Camera Adaptation Layer) driver" diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index 2662a230f681..2083bbd35584 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -99,4 +99,4 @@ obj-y += meson/ obj-y += cros-ec-cec/ -obj-$(CONFIG_VIDEO_SUN6I_CSI) += sunxi/sun6i-csi/ +obj-y += sunxi/ diff --git a/drivers/media/platform/sunxi/Kconfig b/drivers/media/platform/sunxi/Kconfig new file mode 100644 index 000000000000..1b6e89cb78b2 --- /dev/null +++ b/drivers/media/platform/sunxi/Kconfig @@ -0,0 +1 @@ +source "drivers/media/platform/sunxi/sun6i-csi/Kconfig" diff --git a/drivers/media/platform/sunxi/Makefile b/drivers/media/platform/sunxi/Makefile new file mode 100644 index 000000000000..8d06f98500ee --- /dev/null +++ b/drivers/media/platform/sunxi/Makefile @@ -0,0 +1 @@ +obj-y += sun6i-csi/ -- git-series 0.9.1