Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp18540imu; Thu, 10 Jan 2019 17:01:38 -0800 (PST) X-Google-Smtp-Source: ALg8bN5ZYkin7OW/gfr3pI9tgcdjijbwO4wHN7D/6Igj78Q7387nCPcZdUvGKA+jJuY4s9RmT5tu X-Received: by 2002:a63:1258:: with SMTP id 24mr11280256pgs.114.1547168498089; Thu, 10 Jan 2019 17:01:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547168498; cv=none; d=google.com; s=arc-20160816; b=AySoW8f1dVwf25EhMyNMwhpY7Wqyf4XDyTT2HPhvsTsMhGFfiVKzMQs/ee6Z8BsJYj id2UJSjGSGAum0YZ9d0Gby5vSvoLLmbVBvFVLt7lVpHbpkmFE4k2AlFyDnDfIVwXLEWl Wl2y0IduTnTc3bboM6dR1+JtZUM+SFH0emPF7Wmc6l7NkaPN/cuLKhPrz7se0z97nCSD QkEH3kBPSB03+oRxMEFzjgZZUF8VeDI8MSfTjy8Q9X5HIk7mMt+5JTUlUHLaNCrnys6h dKq3ekVFknW9mj0M5rCEWAxsIlUwqOjVl0PrqnymUlK0widfnlMJYM7/hjhBuooeANKM iNcg== 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 :dkim-signature; bh=T7vFDpaFab4XrBOItErL5ETNofRzPtvP7mzD1JwIlN4=; b=CDG4Oustqs/0MYcnWtcPVJldcZU/f2IWMmDGgZ0C+DPdrfSdAtYBanlKE/mixsErcM NLN9s+tcWsy+F8McGkrpzjdthshrb+mtikcq24bxWawl5XOrpfaKQknNN5DSPDhVvTiJ 1l9Fs5gYlzS0qS2Dgf0ficYt59usGDa0diAVw8Z6LBQTUPZDaMrHI5po6YJdF5TH76Xm iHpg2JiNK+fAN/j2d/55iHBUzYmrNMnMRlBC0eDY76tqxrfSiFBkQNScktfCDVDSFBR5 6pmSvswLf+CnYrR+u8AyVSfuaxKzhy7fItTVNyFg4Wx10jiO+BCRExzIKfMHsZEqlxK7 yTHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TIyUDQ18; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si8008244pfb.178.2019.01.10.17.01.20; Thu, 10 Jan 2019 17:01:38 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TIyUDQ18; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729074AbfAKAoK (ORCPT + 99 others); Thu, 10 Jan 2019 19:44:10 -0500 Received: from mail-io1-f68.google.com ([209.85.166.68]:42775 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbfAKAoJ (ORCPT ); Thu, 10 Jan 2019 19:44:09 -0500 Received: by mail-io1-f68.google.com with SMTP id x6so10826744ioa.9 for ; Thu, 10 Jan 2019 16:44:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T7vFDpaFab4XrBOItErL5ETNofRzPtvP7mzD1JwIlN4=; b=TIyUDQ18AAomkB7n8nicph9ecVZaAyVqKrXmC7Bk0ywpteroDDZqb9yrj3+Ri5x9yK FiYVS4VYlp08FS7FZJ3bzkWBYXtweJ8ttmOKPq4vjzg1ab1FcqY4WumbMPAaL9/btr3F i3+iSpayHKO3Wmb0R+2wr9ZWv0I1dwX2wLnTFg81y5jgScogr+Fuy/AEaGilG6Sm8L8c jxbm3gb5qsbWOWvwmRuT9vXLmOJcndnaoYiqqyJRTbJPV45AWDqoy3Z+Msg9lXLs97n7 sm4M7ZoTQcs6Z3gaQru3YA6maEZ0q/cPx2yFEKDBmFYeFGt6BZW4od46jeUoUTkCSi84 rjkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T7vFDpaFab4XrBOItErL5ETNofRzPtvP7mzD1JwIlN4=; b=rKCsWNcopgQWyxcXeMjUxKlTgs7RGDAPTbEBLVb8RNXKhLycWRaFHknrMPYGJBPKEz o0+SeavQii3UyaiOdgtV8FTtWUR5PE+XxX9X2TZoTahu+iiMrMLWS3TfQUZrGG5/7CNE 8pHwuDg9oLBpLqcNPiINwrX/XEKnVodew19VHxP+cuH84n1AOTMUjB7eeoVLiOZoLb43 YegoF2tEdUoCGL5isQWfXITRlCWCW+plLcTv6FyTXJ4Bfa7KduXfmFN27AGMHMp5hid+ WGhEv8fn2lMjQjvWQylFT3mxVWT1JMQo8pwacwrnqXK7nazkMCDiaFG1RGm7j9Dk3uux L8ow== X-Gm-Message-State: AJcUukdpPRGvtu2Ec5XYnJZ+CaNAk5SPDKRFvIOlqEOKOlWx/iHJvuO4 xk2vgDapLaEIOD5Stxp7ayc= X-Received: by 2002:a6b:5a14:: with SMTP id o20mr7876952iob.206.1547167448086; Thu, 10 Jan 2019 16:44:08 -0800 (PST) Received: from localhost.localdomain (c-73-242-244-99.hsd1.nm.comcast.net. [73.242.244.99]) by smtp.gmail.com with ESMTPSA id t7sm31142310iom.27.2019.01.10.16.44.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 16:44:07 -0800 (PST) From: thirtythreeforty@gmail.com To: Greg Kroah-Hartman Cc: George Hilliard , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, NeilBrown Subject: [PATCH v2 2/2] Mediatek staging: Use individual config flags in Makefile Date: Thu, 10 Jan 2019 17:43:37 -0700 Message-Id: <20190111004337.7223-2-thirtythreeforty@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190111004337.7223-1-thirtythreeforty@gmail.com> References: <20190111004337.7223-1-thirtythreeforty@gmail.com> 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 From: George Hilliard These drivers are useful on other MT76xx SoCs, which have compatible peripherals. The drivers are selectable in Kconfig, but they were quietly excluded from the build because the SOC_MT7621 chip was not selected. So, make the main staging Makefile use the same flags as everything else for these drivers. mt7621-dma and mt7621-dts are left alone because they truly do require that SoC. I have personally confirmed that the mt7621-spi driver works on the MT7688, which was what prompted this change. Cc: linux-kernel@vger.kernel.org Cc: devel@driverdev.osuosl.org Cc: NeilBrown Signed-off-by: George Hilliard --- drivers/staging/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile index e095f427177c..4b78ea2c7848 100644 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@ -42,12 +42,12 @@ obj-$(CONFIG_BCM2835_VCHIQ) += vc04_services/ obj-$(CONFIG_DRM_VBOXVIDEO) += vboxvideo/ obj-$(CONFIG_PI433) += pi433/ obj-$(CONFIG_SOC_MT7621) += mt7621-pci/ -obj-$(CONFIG_SOC_MT7621) += mt7621-pinctrl/ -obj-$(CONFIG_SOC_MT7621) += mt7621-spi/ +obj-$(CONFIG_PINCTRL_RT2880) += mt7621-pinctrl/ +obj-$(CONFIG_SPI_MT7621) += mt7621-spi/ obj-$(CONFIG_SOC_MT7621) += mt7621-dma/ -obj-$(CONFIG_SOC_MT7621) += ralink-gdma/ -obj-$(CONFIG_SOC_MT7621) += mt7621-mmc/ -obj-$(CONFIG_SOC_MT7621) += mt7621-eth/ +obj-$(CONFIG_DMA_RALINK) += ralink-gdma/ +obj-$(CONFIG_MTK_MMC) += mt7621-mmc/ +obj-$(CONFIG_NET_MEDIATEK_SOC_STAGING) += mt7621-eth/ obj-$(CONFIG_SOC_MT7621) += mt7621-dts/ obj-$(CONFIG_STAGING_GASKET_FRAMEWORK) += gasket/ obj-$(CONFIG_XIL_AXIS_FIFO) += axis-fifo/ -- 2.20.1