From patchwork Wed Dec 22 14:32:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heikki Krogerus X-Patchwork-Id: 527438 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2B0C8C433EF for ; Wed, 22 Dec 2021 14:33:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241371AbhLVOc7 (ORCPT ); Wed, 22 Dec 2021 09:32:59 -0500 Received: from mga03.intel.com ([134.134.136.65]:11411 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237095AbhLVOc7 (ORCPT ); Wed, 22 Dec 2021 09:32:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1640183579; x=1671719579; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QCLhPm/H03yOkTIscFco8BLBYGHhEbUqjfz5Q53NPNY=; b=F4Zqpk6PR9SW15VixuE2+rZ+HLFF/tHOSqYj4fO4dqQ0k8joo+OZTNOg orpTZGuE3yDGmzqiWUryB6V5JC9JDIWMlgvBzJ/y/zmsODNeKInz6Edth LXTSxWfofXqtVGsrvvG1hFOMnppRPKXgwPPBzCXfVfD3YjZ5/2i7SQXMp IKW8hnvJ94QOcIIoReRoB9oxIKXc2G3XrCGThJypu/rq36iZV0+pEiu+s dctS2ZI2TnOLPap5nV9FBdO8QrIgDSifMlsYfJDA8Q1iKxoxQZiydUlYI tLIhX806vkCYZ/QD7bPkTOmWZ7WgVoCkIWgJGcus56YpWViUlxW7sd2+n Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10205"; a="240580544" X-IronPort-AV: E=Sophos;i="5.88,226,1635231600"; d="scan'208";a="240580544" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Dec 2021 06:32:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,226,1635231600"; d="scan'208";a="664285120" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 22 Dec 2021 06:32:52 -0800 From: Heikki Krogerus To: "Rafael J. Wysocki" , Greg Kroah-Hartman Cc: Andy Shevchenko , Sakari Ailus , Prashant Malani , linux-acpi@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/5] acpi: Export acpi_bus_type Date: Wed, 22 Dec 2021 17:32:54 +0300 Message-Id: <20211222143258.82305-2-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20211222143258.82305-1-heikki.krogerus@linux.intel.com> References: <20211222143258.82305-1-heikki.krogerus@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org So we can use bus_for_each_dev() and others from modules. Signed-off-by: Heikki Krogerus --- drivers/acpi/bus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index dd535b4b9a160..572588bc6ede0 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c @@ -1043,6 +1043,7 @@ struct bus_type acpi_bus_type = { .remove = acpi_device_remove, .uevent = acpi_device_uevent, }; +EXPORT_SYMBOL_GPL(acpi_bus_type); /* -------------------------------------------------------------------------- Initialization/Cleanup