Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp486611pxb; Wed, 20 Jan 2021 11:54:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSvHt9ZmPD8584ZlUSjB6KFnmRLPYObQVdGjQlg/3icgCugzqnMZAbqob3yHVqwmHmPl/U X-Received: by 2002:a17:906:fcce:: with SMTP id qx14mr6970327ejb.220.1611172494342; Wed, 20 Jan 2021 11:54:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611172494; cv=none; d=google.com; s=arc-20160816; b=PqytL2dZ6sJz8cylrzPSargWT/Mw8VmP7Kzwb/tGu9Kp+6A3Ln0MlgovbuiqUsLr9z amE9qgTwS2tdhGUlIXPnsSeVSOWHShG7aMHZmzzkV+mEzTz0TT1iWyjB+C8SFGHkL87p D07+OkPjY1h0n3X0zn6hyf4jKUaa+XMMQzTSAYz6LzSp+lV5KmE5vQSYukeRiDXZo2Oa oxSQMSiiyjRioAROphjzwFTEjeo+zXyqLwWk4L6BglfETRSF14896gxseiBR1RFpawiP Dw4KTtdwxA4dz13sDUtfme5PDGCZBsWwMEa92yuOrwCesGw28cA3Ccqxx3obCK62zTdh e3cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=9lRzUAv3or2r1BbPajS2z+ykRpWXBnGJf5rpZ5p6tBU=; b=U0MR+G3MmG3AcpKgJvdfpI6FrN5YIrasVzajENE2wGD/Wxp9UvaAwdTNC6Q0dG91bC BGMcSB2a6grOus9m1RJwYeDT8UkUWOrvroEw5KzrspydWEhbGyaAUiUtLiprMmcx2bs3 4bOnSGhkdFHA0zrmhOEP6BNBC2b0ZOXhGXbvRofntzR+CPio1+tMlMSsz6eFuJYL/A8F BaCspcBFUKdJsV4ftUPiiWFHijzEA9WwYflqArP/MOR/ZRWFrxMNMIpFT6El+rZ3BzjS LZzG4ILJrg78YGmvLJIQYIJ2J7e1hoNpztucfcHNXB4aw2AuQzfcDMWRTqJUkk8TtYU+ Akuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b7XgurA3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id e19si1307529edc.566.2021.01.20.11.54.29; Wed, 20 Jan 2021 11:54:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=b7XgurA3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2392798AbhATTuW (ORCPT + 99 others); Wed, 20 Jan 2021 14:50:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392616AbhATTtf (ORCPT ); Wed, 20 Jan 2021 14:49:35 -0500 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3719C061757 for ; Wed, 20 Jan 2021 11:48:53 -0800 (PST) Received: by mail-pg1-x52c.google.com with SMTP id 15so15916607pgx.7 for ; Wed, 20 Jan 2021 11:48:53 -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=9lRzUAv3or2r1BbPajS2z+ykRpWXBnGJf5rpZ5p6tBU=; b=b7XgurA3tAmpc0/KrE+SrYu+wzF575qE3w5hAl0FoEebHa52Yts9CiUoEPqUD2CUGj g1CDS83gzRO7wECoszUiNN+l4Vc5iFcQkeDVsKYtjaKtZ2T6gj8wH6WUmRt9KZwBktxu TVKv1RG3ibphKebujjufhqlgq1MB1yGeH9PJH6DnI56Rs9F+sm5+9biMMlCWIJT932L7 aQU5EV+XYmM4Yt2GNgxKT7wzrh7p+dw/PciwyebeJNLqC+BEUY4JCMCwpnhKLgSiCOHS E2y2l0U50Ex4hQxkwIXReKocVQ8L7dMObdTPeVcmBnhvTrrXpmMreQA9gxjqkrK3tFkd NZJQ== 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=9lRzUAv3or2r1BbPajS2z+ykRpWXBnGJf5rpZ5p6tBU=; b=lSyLr+b8CmrKzpKgNSLGcuFDSQXcs6wfg7GzPOcDgDCSKQeoBMC4/ns7+jLzgKF2QS eTScAvnhrJHYbWTsR7ti/4RW+MBYAIMv3G/YkumuJHUmnCWA3z+kvk4/TbOedgfS1XE6 8LEX18RmibcxNDkQv2oItYtTYUMldjW/kDVWyLNj+igAYCQv7YGVREpTo/uQwApDt8Vi f+d6Q18x5ultyo7qCZYqPDJDX4Nws2StPhmgZVXCK8degR+M7Riu+lMvr+dj8Nlq325Y l9XNg6AHg30S1jfkMqIewUwpfppjRoTK0sz7UQPAS7grvivYpJfAAF5fHH8+LoeRXmUu kjZw== X-Gm-Message-State: AOAM531RuHFvqpjxsAwXuIbrnqClfCqOTb1gW+nGCQrHROZUDYZ++NLp JQlKgTBlQP1/DYKe1L9hr3Q= X-Received: by 2002:a63:6f0d:: with SMTP id k13mr10948851pgc.256.1611172133494; Wed, 20 Jan 2021 11:48:53 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id z6sm3183298pfj.22.2021.01.20.11.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 11:48:52 -0800 (PST) From: Florian Fainelli To: bcm-kernel-feedback-list@broadcom.com, =?iso-8859-2?q?Rafa=B3_Mi=B3ecki?= Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?iso-8859-2?q?Rafa=B3_Mi=B3ecki?= Subject: Re: [PATCH Broadcom/stblinux] soc: brcmstb: add stubs for getting platform IDs Date: Wed, 20 Jan 2021 11:48:51 -0800 Message-Id: <20210120194851.2775816-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210114105318.14970-1-zajec5@gmail.com> References: <20210114105318.14970-1-zajec5@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Jan 2021 11:53:18 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > Some brcmstb drivers may be shared with other SoC families. E.g. the > same USB PHY block is shared by brcmstb and BCM4908. > > To avoid building brcmstb common code on non-brcmstb platforms we need > stubs for: > 1. brcmstb_get_family_id() > 2. brcmstb_get_product_id() > (to avoid "undefined reference to" errors). > > With this change PHY_BRCM_USB will not have to unconditionally select > SOC_BRCMSTB anymore. > > Signed-off-by: Rafał Miłecki > --- Applied to drivers/next, thanks! -- Florian