Received: by 10.213.65.68 with SMTP id h4csp2113660imn; Sun, 8 Apr 2018 20:03:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx48HpPJVByQ/7AOEa3jT8cZ4VgClXSRjOwLxgk8pNPvm4ST3Cu/33gZ1Oi31htd3lulEXCKH X-Received: by 10.99.107.65 with SMTP id g62mr13675234pgc.180.1523243022131; Sun, 08 Apr 2018 20:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243022; cv=none; d=google.com; s=arc-20160816; b=sczbx5YFcWKBE/MBv5/pVyi8lw97QYo7Ao/3Opo9wud6pLx2S5/P3aYAHYcjMiHcN5 v1TTDX5+cfW8IWZcDzqg1V1/KOCXV9MH5n1IAge933HdKZDrqzoYpjfpZ1FDiftMoZ3L mqVD5YyGLQPulipFFBHY7ceuHKNAj/EJVTOe9fTJA5cjU3nF62TX8mNjAHFg2s6d+SDe mR324EcoJRqP7Z7pn52WeE/8gZlf1/CY5AWBJTmYiq3fLqBlRJIwcGUdfL2NDs1K0z3g ZsU6B4RfWsY5/neem0ZHuWLIk2GVvs/AZqW74JZ382xxYE5KFudk2S6slgDbjXYu3/Ph Lgyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=2gzdbIZyFnUkK9N9cRZ8jPuXQbGUR5WYr4QVAieXB+A=; b=gAhQ9n2WBLNvbWedtVrEH7wg7Pytg2bg4TGmKfvBrp83SboDblt5h/wF1C6j7/4myL 0+YMR7eWso6os+uT6EDhPjVby91WImtaUp+WkTFO+XjlGISgvA7KO88Ykbwlz6A/ZcqD Sdm+QvIGwThsNFWF403Mnj4F9VqTFASyjuGLdS9VuJ8cnZ5zci9ehqTLq7J8nIUU1ouU HR26CPcF6MBPZThTNmNRXxNGms8z4Kvu5RTjXuVlLwspnbNeV8GfHpY/r7XErLO/CYe9 8lsGnx1EDKNpTMNg1NmcToOSCJUjwHDikRJZ0sFhRqnpYKJmkhixi43BfRFFb+jLBOGS zC8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ajiT6chu; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4-v6si2267116plt.487.2018.04.08.20.03.05; Sun, 08 Apr 2018 20:03:42 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=ajiT6chu; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755890AbeDIA2j (ORCPT + 99 others); Sun, 8 Apr 2018 20:28:39 -0400 Received: from mail-bn3nam01on0096.outbound.protection.outlook.com ([104.47.33.96]:38912 "EHLO NAM01-BN3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754315AbeDIA2b (ORCPT ); Sun, 8 Apr 2018 20:28:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2gzdbIZyFnUkK9N9cRZ8jPuXQbGUR5WYr4QVAieXB+A=; b=ajiT6chuzH61Ow/pHDCFN1fmSq2Y09PDGoxMr75+DddiyhcNrrkubcvbv9EODEYP3vqmg0vtqJ2W0zdMloJ9+FiH7eQouSoxAzjRwxvW3RBGF3/1871XmMTPnjAh74aUqX31fuxZYq2uhw48IRFc842H7nmBmuHSVEmXHtJfuBE= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0807.namprd21.prod.outlook.com (10.167.110.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.3; Mon, 9 Apr 2018 00:28:27 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:28:27 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Geert Uytterhoeven , Rob Herring , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 074/293] of: Provide dummy of_device_compatible_match() for compile-testing Thread-Topic: [PATCH AUTOSEL for 4.9 074/293] of: Provide dummy of_device_compatible_match() for compile-testing Thread-Index: AQHTz5kJEQty8ZQVh02P0CeS7eHXcQ== Date: Mon, 9 Apr 2018 00:23:52 +0000 Message-ID: <20180409002239.163177-74-alexander.levin@microsoft.com> References: <20180409002239.163177-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002239.163177-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0807;7:6kH5pcghmHLrq8syoWuDTASCxmoL6XS9R6PYQpbZcayB5m8hFUvb0For2kMxyi35zukHxVJtodJa8PyJ0A/UrDA/pumzvCjB07VRg9vwSZo4zHQs3QXwQGeTvnXr0pHaN+LnvqYZi0HIFedmvetXE8XdwCFiIlScVtDgwBK+pBJI0qoXM2ZyPa8aHdautpXwOdLHXTsnFJYm6yLoUVLF8e2iOnD+g09To3xiiqqj49tGNS/PFdr1+HwX3DJ7WshU;20:cdshIIE0ZPzZBCicxTzKjwxfyymjFRqquqOpdCLmZlrnTp4fTwG9rz/AUZ2DWKQwktdoS8GVO8+N5wI54g36unURKY/cvDXNKNj5iHnonueObUm+8IwBM0UYiKcJ3vAOS2SEf7FbuvwHoH1KGZcQjMhs30l6IbqpsveNq7akgzg= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: ec2e3bde-ea88-441d-6ffb-08d59db0d061 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0807; x-ms-traffictypediagnostic: DM5PR2101MB0807: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231221)(944501327)(52105095)(3002001)(6055026)(61426038)(61427038)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB0807;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0807; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39380400002)(39860400002)(396003)(366004)(376002)(346002)(199004)(189003)(14454004)(4326008)(54906003)(25786009)(53936002)(2900100001)(1076002)(3280700002)(6486002)(186003)(2616005)(68736007)(110136005)(11346002)(10090500001)(6116002)(107886003)(3846002)(36756003)(8676002)(72206003)(22452003)(66066001)(26005)(6512007)(478600001)(3660700001)(81156014)(86362001)(81166006)(86612001)(7736002)(305945005)(8936002)(10290500003)(6436002)(105586002)(6666003)(316002)(76176011)(5660300001)(476003)(106356001)(2906002)(6506007)(446003)(2501003)(99286004)(5250100002)(486006)(102836004)(97736004)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0807;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: Nxn0TM4P4mJ4PfxnufuYa+Jdpb69M4UDlPZT0WVFIXM6aZ0Xj2Rg3/co/YPzMSWhHkaKvqEpt8SCjD3SGSbc6bRHLFCh+0Hj/lbz6fulj/N9FNmg9U8wIj5oLe4kKjSyDqggAhXBbpSdSiPy9pEYCiqeRVqOeLSM87N72CMemK5XOlvdnSE0Lzi4rb/tYVqsIZ7SQaLtX6UdwCl+LFmc+jTGksP7zl5wfahij1PXT0i55TndQ1x+DlLtJK2wGFrOj7ejp1JBBveoY4uVpH0zvibdFr+vU6a1i6XtHkPTjIRkd0OBzuqBiuScFc1QZA6U3V/Wz6cf2htoNcNgVl/yX+Ih7BZuXXK6gBDaEjAq4JV0Ku336U4bLNk50qhuv2smONyrdNBi2W/kAeFEiZAGZg0unKdvqjUKg+CaCwZRUnw= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: ec2e3bde-ea88-441d-6ffb-08d59db0d061 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:23:52.0343 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0807 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Geert Uytterhoeven [ Upstream commit 3bc1630774bc9f202308ae04608a32c366b41caf ] Most of_device_*() functions have dummy versions for CONFIG_OF=3Dn, but of_device_compatible_match() hasn't. Fix that to improve the ability to do compile-testing. Fixes: b9c13fe32faaa71c ("dt: Add of_device_compatible_match()") Signed-off-by: Geert Uytterhoeven Signed-off-by: Rob Herring Signed-off-by: Sasha Levin --- include/linux/of.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/of.h b/include/linux/of.h index 299aeb192727..283eea3e5261 100644 --- a/include/linux/of.h +++ b/include/linux/of.h @@ -619,6 +619,12 @@ static inline int of_device_is_compatible(const struct= device_node *device, return 0; } =20 +static inline int of_device_compatible_match(struct device_node *device, + const char *const *compat) +{ + return 0; +} + static inline bool of_device_is_available(const struct device_node *device= ) { return false; --=20 2.15.1