Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2241429pxb; Sat, 7 Nov 2020 14:54:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcb+kNEB/z+oi9GC8Ev51Gr/yyK8fgCyPwCFGaQxoviClGDfJjUR0TtzfsNCJTCnbd7fV3 X-Received: by 2002:a17:906:c186:: with SMTP id g6mr8000401ejz.465.1604789679864; Sat, 07 Nov 2020 14:54:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604789679; cv=none; d=google.com; s=arc-20160816; b=V49VfrUws3+mmlU6gRE5xx7IqOT5wWGEZE2PqQKOn80UJY1DJ2BWyVXXhy2uE/9UH6 UkmXT8gMzrVV2r0NyFvpEyIghknlhxU5900QKQtF4QJesK+cchiSvqVv2jzfzdYKVNmH 9mXbqM+z3atgpIpJ+vAS3U3Z1H0GsQlMYuTNxHMcls7+aEkJ4S8IBMwcXucCrmm7Pbsz Swelkmkf2de+fyN0tC4qJ6ur0GmV8qR879FZEMV9b2e0WAzzPR90c/Hs2HhYG/LjtwUG Gl4EPzb7rVLIdwhxxH2AQdH4+aLptFlJAKa2Bqz2ir6z71/7U8nDstYRiPzGhmkcHmmo XNyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=3Z6M7mlid8X1YnF+DHbpm6fmI55KTptuGsUGWswoIgA=; b=0n9GoJmmHaInnksAu8T7xFaInjr1Dn9PYOECCLwHCWrxxLvVlx/fpVsh9dfHa06PGR IYuDgeDIt9LZEOzfTP5aXrBRKg5HqkH8ZrY5gf7DwzMrdbXC2m/bfvB1KjIiBfjLIgJl 60e0v5x4wSAniReUdv5r5S/ke6l9lCL4dPOF5ac5FFdZAtBvefLzGY/SPoZxMqn3qKFF pelpTOsWLH6zeHhPA1HicAP7lJLXTM4zRsoxQUMRyxlBbEO3qb+Rxi+nyAkzrisjXDfm 2AFrUJ0z7JIxjO00WqnfoCc02dpQSJBHrCsy4Oup50u776wmU00xiFG8lwNkHhxWyu2g XGIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LGdrMJoJ; 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 i18si3888340edy.422.2020.11.07.14.54.03; Sat, 07 Nov 2020 14:54:39 -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=LGdrMJoJ; 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 S1726206AbgKGWtd (ORCPT + 99 others); Sat, 7 Nov 2020 17:49:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbgKGWtd (ORCPT ); Sat, 7 Nov 2020 17:49:33 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED591C0613CF for ; Sat, 7 Nov 2020 14:49:32 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id c17so4949118wrc.11 for ; Sat, 07 Nov 2020 14:49:32 -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; bh=3Z6M7mlid8X1YnF+DHbpm6fmI55KTptuGsUGWswoIgA=; b=LGdrMJoJvLwCehIzLeZjfy29pIKCUUE/x/H9M0drcmRCDktbwyD/bSF7nPKn7Ona6c GUEm/CytF00+Tl71+IiPBTEhWNvEgxRAkA2tqpI2cXGJ/v+FKGwxC6BdchfwSwZVnb3L ub72CwBmD8pngc/E4KfYtDf0alJWxvUUetlfJ8p2a9iBSfYd4DlFgEU2sE2EeB5/l19A R3td08ud91NaaKZ0oOfcMw+P+L/p47RYmLrrHYrrDd+q1PhclNZOQEwjuMCivUIRQnR2 KCs6Z2ZPqZAbONWEosEQWCARBocueI9PYg1r4i47fzComqCp31fjYWwOC59aXAHz8sWZ mZJg== 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; bh=3Z6M7mlid8X1YnF+DHbpm6fmI55KTptuGsUGWswoIgA=; b=EeVbheM6pUQRxIN7FNAJaVKlbvHA1Un0nNddCICnUXXRNlkDMmKQk2PiWFYHLYKlW7 eJh4tQ15Tukb8a5XiwnGrzC9y8Z4vE8Td5bUWECSJCa+3Nc3ChpaLYmCU5BIE++O1uqz k8494GUC/NaCQ5Mm8VoHc7/RO4AU6A53Ch1NBNXxsd5t23j5ps+Qo1YpEUJydKdjxTwe GSM6q8+9hsmw27Eoewc3+R0A1O03XOlnHmkJ6AB5qS8gU8RM3HWWisBe3RCFc8n1jzHF odLAgLIlIkJ+SFvECam9wPo7xPN6eKm/MZYu/yPs7RKVibbLpwUsosjn34wtO+YaAcw8 Xk5Q== X-Gm-Message-State: AOAM533sF6i7HPabdA2FJIpT9PdRBJPwKSMRxRY2fVPs7AngjnLuJuEt CSQQAq+2brVlIkIrfYAw62Ga34iENGEqkw== X-Received: by 2002:adf:8382:: with SMTP id 2mr9882140wre.227.1604789371578; Sat, 07 Nov 2020 14:49:31 -0800 (PST) Received: from localhost.localdomain (host-92-5-241-147.as43234.net. [92.5.241.147]) by smtp.gmail.com with ESMTPSA id e3sm8001875wrn.32.2020.11.07.14.49.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 07 Nov 2020 14:49:30 -0800 (PST) From: Sudip Mukherjee To: Greg Kroah-Hartman , "Rafael J . Wysocki" Cc: linux-kernel@vger.kernel.org, Shawn Guo , Stephen Boyd , Dong Aisheng , Sudip Mukherjee Subject: [PATCH RESEND] driver core: export device_is_bound() to fix build failure Date: Sat, 7 Nov 2020 22:47:27 +0000 Message-Id: <20201107224727.11015-1-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 2.11.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When CONFIG_MXC_CLK_SCU is configured as 'm' the build fails as it is unable to find device_is_bound(). The error being: ERROR: modpost: "device_is_bound" [drivers/clk/imx/clk-imx-scu.ko] undefined! Export the symbol so that the module finds it. Fixes: 77d8f3068c63 ("clk: imx: scu: add two cells binding support") Signed-off-by: Sudip Mukherjee --- resending with the Fixes: tag. drivers/base/dd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 148e81969e04..a796a57e5efb 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c @@ -353,6 +353,7 @@ bool device_is_bound(struct device *dev) { return dev->p && klist_node_attached(&dev->p->knode_driver); } +EXPORT_SYMBOL(device_is_bound); static void driver_bound(struct device *dev) { -- 2.11.0