Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1934662imm; Sun, 9 Sep 2018 12:00:50 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYHOzqG32rY1E8X+LXV5ZE+2QJmwAeB43qYEKS3RqDRaiMpqSmPBn/Fk1XLtHhL9fedYckX X-Received: by 2002:a62:6d02:: with SMTP id i2-v6mr20131492pfc.218.1536519649975; Sun, 09 Sep 2018 12:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536519649; cv=none; d=google.com; s=arc-20160816; b=omkLIr+jjaoA3+ImdIb/ArLRDrL3dD1dDeOaYcRIKCkusKAAV7NuYnUGjpNdk2pPQY KpSUEPTwcvu9LE8XgoXbyjSforGoyjd/cqv+pLURr+AowwXzjtQkbOTlicWpxeq1oA6p 0Tyv0bjBEneCkbmAQwQ/c4Nz5cptJ7ju//h4AccUD6HwdyNpANLilqCc74gF0+iuX8M6 wEWMOXwN9rapDeF1gPXeOz87rdHfijlprSc85/j68ymq4kP8YdK+C+43su9zSzfSvXnL B7/7frHzyls2s5Acc2yxmks1Ss+hXkBKLlDcJYVL6kJl8SCeZPtzue1CeNrhLZ0Nli8h v5gw== 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=hNrtNk4sTsC56iltPL7POe1BqWH78zTLOWuVQ1XlPl2Dz6dXBgaOYHn4Upk4V4sFyD DCkcinldb9pcEAGLnp2RxjvJwTrsmwqd9aW9Kau0Lbnekqb2g2Yq2PTfcfl4c54RLpx1 y15Muud0U72+6qvzecE0NEUICxdU12j9s/OU/HDxRuY4pdbz7uatDXS/+OWkZVTRBB7B 69H1UfCm2iDh1uPFE6bs4Gp8Rb/TdwZzyJ4UHi+NW/GQ3L9LlC1nHzhoX4vNv9bz1YY4 iDtw3FUr/kafOkqoCuD/K3PTDlG+XGJ6yD7FBlfkYVHB2/hfjxFBs8h+Yz9wgqIwL6Vg jCeQ== 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 l6-v6si14473174pfc.298.2018.09.09.12.00.31; Sun, 09 Sep 2018 12:00:49 -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 S1727034AbeIIXtw (ORCPT + 99 others); Sun, 9 Sep 2018 19:49:52 -0400 Received: from leonov.paulk.fr ([185.233.101.22]:44664 "EHLO leonov.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726688AbeIIXtw (ORCPT ); Sun, 9 Sep 2018 19:49:52 -0400 Received: from gagarine.paulk.fr (gagarine [192.168.1.127]) by leonov.paulk.fr (Postfix) with ESMTPS id 10DC6C025F for ; Sun, 9 Sep 2018 20:59:16 +0200 (CEST) Received: by gagarine.paulk.fr (Postfix, from userid 114) id 973C6C0F68; Sun, 9 Sep 2018 20:59:14 +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 54F75C0F62; Sun, 9 Sep 2018 20:59:05 +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 , Paul Kocialkowski Subject: [PATCH] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI Date: Sun, 9 Sep 2018 20:58:57 +0200 Message-Id: <20180909185857.19983-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