1*6423d295SWon Chung /* SPDX-License-Identifier: GPL-2.0 */ 2*6423d295SWon Chung /* 3*6423d295SWon Chung * Device physical location support 4*6423d295SWon Chung * 5*6423d295SWon Chung * Author: Won Chung <wonchung@google.com> 6*6423d295SWon Chung */ 7*6423d295SWon Chung 8*6423d295SWon Chung #include <linux/device.h> 9*6423d295SWon Chung 10*6423d295SWon Chung #ifdef CONFIG_ACPI 11*6423d295SWon Chung extern bool dev_add_physical_location(struct device *dev); 12*6423d295SWon Chung extern const struct attribute_group dev_attr_physical_location_group; 13*6423d295SWon Chung #else 14*6423d295SWon Chung static inline bool dev_add_physical_location(struct device *dev) { return false; }; 15*6423d295SWon Chung static const struct attribute_group dev_attr_physical_location_group = {}; 16*6423d295SWon Chung #endif 17