16423d295SWon Chung /* SPDX-License-Identifier: GPL-2.0 */ 26423d295SWon Chung /* 36423d295SWon Chung * Device physical location support 46423d295SWon Chung * 56423d295SWon Chung * Author: Won Chung <wonchung@google.com> 66423d295SWon Chung */ 76423d295SWon Chung 86423d295SWon Chung #include <linux/device.h> 96423d295SWon Chung 106423d295SWon Chung #ifdef CONFIG_ACPI 11*3e44d5c9SGreg Kroah-Hartman bool dev_add_physical_location(struct device *dev); 126423d295SWon Chung extern const struct attribute_group dev_attr_physical_location_group; 136423d295SWon Chung #else dev_add_physical_location(struct device * dev)146423d295SWon Chungstatic inline bool dev_add_physical_location(struct device *dev) { return false; }; 156423d295SWon Chung static const struct attribute_group dev_attr_physical_location_group = {}; 166423d295SWon Chung #endif 17