From patchwork Thu Jul 11 21:39:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vaishali Thakkar X-Patchwork-Id: 168847 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp11899876ilk; Thu, 11 Jul 2019 14:39:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqymCexiui+l6HI+6Evke+Gm1IvItj0xjkUtVOgpHarwHn5OAd3ti6O6kCp6hkTOU12UycH6 X-Received: by 2002:a17:90a:d996:: with SMTP id d22mr7306553pjv.86.1562881168890; Thu, 11 Jul 2019 14:39:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562881168; cv=none; d=google.com; s=arc-20160816; b=e4eSV3EiEmRnBueXPR8PE1NUh6mOs9bDinZGvVWjEyAyZo3saTYEMqRgHiRBX4j7Hk hPkkFaYrZQ2+IlJxTDJ9XoSaaFVGt3EeBAEMpaF4ftaMkio8eX5XB42RSajBeEPUVXMD oVENiYwPkM9qktjpsWPzFi90aHv7pXJDsfeAgdVIY77cKGM3uTw5MiHJK0zFg9IQ3e7b PE3J+5Ovm6S3VqVlZf4Jzx1Q8icsJ/cOsF25i0bv1sPNssdHaHBz4X8eKlJ4jYPb9cAG HcTexo8qRIsDL/Vi6udY/2MZDiVtU3r4P8FKsFFOqostBYSbCrcovKu9mKH8ZY6WRe0B DJEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=9mZ61KKydl7XtmWNflo6S6ZKEPWBoobMC4o1X6705JE=; b=k4jiUaPGkR8d/CofB8SZ5OvF/F1wFAQJrtUeMN/3bQULji8pBWN6IT9x2HXfEmAytN 7t4Ailm0a4ruFLfuNHhj+JQNK32RXe/eeplrslPD2I/sKIQZB0JRV9jYBghH0bL5BnOg RlQClfnSQI/cmNyPICk7efK/F8n7uq5AQlhu672he05IUptqZxE0bs8uWeiEgz2c2HS/ a9kIulgXiBzxfukpgALj8qADAZIaGmtEbm8mjWKHIiHiuP51CFny/SldvPSOZL6KdU31 3OvhrvdyMZ2N6NcEe6dBQ+RZnZNsl95Sw4+1x6ow3uipJsJJ76XXbz86ArPOBoqq6zun TosQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q9kxtIzM; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y187si6205337pgd.66.2019.07.11.14.39.28; Thu, 11 Jul 2019 14:39:28 -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=@linaro.org header.s=google header.b=Q9kxtIzM; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729175AbfGKVj1 (ORCPT + 29 others); Thu, 11 Jul 2019 17:39:27 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:37739 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729152AbfGKVj0 (ORCPT ); Thu, 11 Jul 2019 17:39:26 -0400 Received: by mail-pl1-f193.google.com with SMTP id b3so3696042plr.4 for ; Thu, 11 Jul 2019 14:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9mZ61KKydl7XtmWNflo6S6ZKEPWBoobMC4o1X6705JE=; b=Q9kxtIzMG+/cHPtBtK5ej7nEkTudPoiCgAxJCQ905E8q15MRjvpJyoLePOq5w2Rh9e N2Ki7Q9fEiPGECS399LS7Yu/ysSUP2OYQiWCKg/JHR0b7877DTTWD0mPR5rKWSxbRlgU EJXC09ODygN6Jz3uTqkC13VMVqbT+2I3oKyMwKTkzuoUANWfQ7VDuU0zH1Wp79jU0YGt 1ivqHiuzBXYy7HIw1yygbcFjG0EFSAAws/HWOSVa3XE423YZLx/MrahGIWGJ5axSI0e2 GE/vvqX3qaPw5vfa1+QPeX6m0csee/jdp697Ge7lc5fgiU0E7UBoqgDSHP9PpPkcdLNt ULlA== 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; bh=9mZ61KKydl7XtmWNflo6S6ZKEPWBoobMC4o1X6705JE=; b=XfRozl2YQvcDuqocAC1hW6xV/P/q3jfa0B5v6qF7ACD4ijQORwDfy5DqqKBl+3O6Tf aVvM47UC5oI4s/C3pyLe5gkID0DvDdeGZ4oHhkDhHBNRFLbdny/2Q0z251mtvEumV4Ec i7Qd+97d98Aowc4qUWLcStHaNllM7oewqO2OsGpZhfAigfqsqndnnWmSS2d4qQKfiFfF 8opfwIjrasmXSg3n8Scv7bNbkPPBp/VOk3jUFlaG5ELrLCvS2VMzXNNJKRtgdgjr+gmu FCchKxEjep3r/PgKslCkDRAbS9/on7dTNlaFB1Jf2cwmho559KYK8NecSVD3aXSOIMxX xYig== X-Gm-Message-State: APjAAAVGU7nKM2gpONnEMHLUjLcoHfOEpGLI93pHZcCSEg0pSWBCoXQr SgzdIPSzEY+T7uuH6A6YJfCm4Q== X-Received: by 2002:a17:902:a606:: with SMTP id u6mr6497067plq.275.1562881166311; Thu, 11 Jul 2019 14:39:26 -0700 (PDT) Received: from localhost.localdomain ([27.7.91.104]) by smtp.gmail.com with ESMTPSA id w3sm5709795pgl.31.2019.07.11.14.39.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jul 2019 14:39:25 -0700 (PDT) From: Vaishali Thakkar To: agross@kernel.org Cc: david.brown@linaro.org, gregkh@linuxfoundation.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, rafael@kernel.org, bjorn.andersson@linaro.org, vkoul@kernel.org, Vaishali Thakkar Subject: [PATCH v5 2/5] base: soc: Export soc_device_register/unregister APIs Date: Fri, 12 Jul 2019 03:09:08 +0530 Message-Id: <20190711213911.23180-3-vaishali.thakkar@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190711213911.23180-1-vaishali.thakkar@linaro.org> References: <20190711213911.23180-1-vaishali.thakkar@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Vinod Koul Qcom Socinfo driver can be built as a module, so export these two APIs. Signed-off-by: Vinod Koul Signed-off-by: Vaishali Thakkar Reviewed-by: Greg Kroah-Hartman Reviewed-by: Stephen Boyd Reviewed-by: Bjorn Andersson --- Changes since v4: - Add Bjorn and Stephen's Reviewed-by Changes since v3: - Add Greg's Reviewed-by Changes since v2: - None Changes since v1: - Make comment more clear for the case when serial number is not available --- drivers/base/soc.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1 diff --git a/drivers/base/soc.c b/drivers/base/soc.c index b0933b9fe67f..7c0c5ca5953d 100644 --- a/drivers/base/soc.c +++ b/drivers/base/soc.c @@ -166,0 +167 @@ struct soc_device *soc_device_register(struct soc_device_attribute *soc_dev_attr +EXPORT_SYMBOL_GPL(soc_device_register); @@ -175,0 +177 @@ void soc_device_unregister(struct soc_device *soc_dev) +EXPORT_SYMBOL_GPL(soc_device_unregister);