162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Device physical location support 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Author: Won Chung <wonchung@google.com> 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#include <linux/device.h> 962306a36Sopenharmony_ci 1062306a36Sopenharmony_ci#ifdef CONFIG_ACPI 1162306a36Sopenharmony_cibool dev_add_physical_location(struct device *dev); 1262306a36Sopenharmony_ciextern const struct attribute_group dev_attr_physical_location_group; 1362306a36Sopenharmony_ci#else 1462306a36Sopenharmony_cistatic inline bool dev_add_physical_location(struct device *dev) { return false; }; 1562306a36Sopenharmony_cistatic const struct attribute_group dev_attr_physical_location_group = {}; 1662306a36Sopenharmony_ci#endif 17