Merge tag 'for-linus-iommufd' of git://git.kernel.org/pub/scm/linux/kernel/git/jgg...
[linux-block.git] / drivers / base / physical_location.h
CommitLineData
6423d295
WC
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Device physical location support
4 *
5 * Author: Won Chung <wonchung@google.com>
6 */
7
8#include <linux/device.h>
9
10#ifdef CONFIG_ACPI
3e44d5c9 11bool dev_add_physical_location(struct device *dev);
6423d295
WC
12extern const struct attribute_group dev_attr_physical_location_group;
13#else
14static inline bool dev_add_physical_location(struct device *dev) { return false; };
15static const struct attribute_group dev_attr_physical_location_group = {};
16#endif