Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1939714imm; Sun, 9 Sep 2018 12:06:20 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ94jh3WbjsnogXeYbcK1kiEWN/3RJiJnPnlnhqUwEryyiUIFYpZzN8MSs4ajS7R78hkCPa X-Received: by 2002:a65:4c43:: with SMTP id l3-v6mr18847059pgr.451.1536519980074; Sun, 09 Sep 2018 12:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536519980; cv=none; d=google.com; s=arc-20160816; b=qly9p/aRk6dZ2TrW7hmpnfSt1SOKhTf+2WdI43eJ8Y+lCPC5vYcVbRWg1QJpRtaC4P lyb9iCJ3WhCnByRyuynD9Zm1qqvwmbi6MhWYp0LMB4j91PjCSth4sQW5Vj66s+cJUtMT 3I/k2yrsexuwdtin8hpTrMSrpmSJ/t31AbWHjdJXOIYS+tTnDQzN/kWgO7Y37JyY4O6D re/qg4/xO1Lp8JXYeD+p51uP1wRHEmYWtPJQf77xyV2uPS6AcgBEvSbzLOxq6ZSD1DtG 7XiFZ1Ku1uTjZciwQA4PHIw1GBuUBVY1xPsVKapheMsIVJp/LNZ+fEh2dg6ZHs45awE2 RJdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=P3DKqpZqoqKW9kWJHIst5gHS6KDssL85uKATZsk4qBs=; b=TfiF+6Iz94k4yPWELBnoTOzjctqjKsgMKNxq1Ne4Sx71FSS3eba70eKN4BNqPga2CW QYBgLUTomdjpWfoyYyhvTE0B7He3VF2Yfc4sTsmVWPhYI9fBmjjfnw4GWSYX+aQlYHeG ZQKXyvFzDbX+DBcwZzexbAMEIxKMMmCtYCTWJdf3ASelQcEBFxMR9rO6dhpZwGTXhSEe tDSi65/jmS1fBqMZcXGhfKy1s/mFxjAmF3QpZjlDdZ1p59qu6EeM0OyX7JgfrajZ+Y+7 +GqXepSje96HJB3r51Qg3JV2d4ZXQy8eKyAfG5GOjOhuKQUHyjY0VTNA2KMv7NWcoqlE NSKQ== 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 t16-v6si14955296pgi.457.2018.09.09.12.06.03; Sun, 09 Sep 2018 12:06:20 -0700 (PDT) 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 S1727034AbeIIXzb (ORCPT + 99 others); Sun, 9 Sep 2018 19:55:31 -0400 Received: from leonov.paulk.fr ([185.233.101.22]:44678 "EHLO leonov.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726710AbeIIXzb (ORCPT ); Sun, 9 Sep 2018 19:55:31 -0400 Received: from gagarine.paulk.fr (gagarine [192.168.1.127]) by leonov.paulk.fr (Postfix) with ESMTPS id 842F0C0206 for ; Sun, 9 Sep 2018 21:04:53 +0200 (CEST) Received: by gagarine.paulk.fr (Postfix, from userid 114) id B2769C0F64; Sun, 9 Sep 2018 21:04:51 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on gagarine.paulk.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id CAE29C0F60; Sun, 9 Sep 2018 21:04:41 +0200 (CEST) From: Paul Kocialkowski To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-sunxi@googlegroups.com, Chen-Yu Tsai , Maxime Ripard , Hans Verkuil , Paul Kocialkowski Subject: [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI Date: Sun, 9 Sep 2018 21:04:39 +0200 Message-Id: <20180909190439.20425-1-contact@paulk.fr> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This makes it possible to build the sunxi SRAM driver without building for the sunxi architecture. This allows selecting the driver when building the kernel in testing environments. In particular, this is necessary for testing of the Cedrus driver, that selects the sunxi SRAM driver. Signed-off-by: Paul Kocialkowski --- drivers/soc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 113e884697fd..446166ba0bec 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -18,7 +18,7 @@ obj-y += qcom/ obj-y += renesas/ obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ obj-$(CONFIG_SOC_SAMSUNG) += samsung/ -obj-$(CONFIG_ARCH_SUNXI) += sunxi/ +obj-y += sunxi/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ obj-$(CONFIG_SOC_TI) += ti/ obj-$(CONFIG_ARCH_U8500) += ux500/ -- 2.18.0