Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Device physical location support
0004  *
0005  * Author: Won Chung <wonchung@google.com>
0006  */
0007 
0008 #include <linux/device.h>
0009 
0010 #ifdef CONFIG_ACPI
0011 extern bool dev_add_physical_location(struct device *dev);
0012 extern const struct attribute_group dev_attr_physical_location_group;
0013 #else
0014 static inline bool dev_add_physical_location(struct device *dev) { return false; };
0015 static const struct attribute_group dev_attr_physical_location_group = {};
0016 #endif