mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
476 B
16 lines
476 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
/* |
|
* Device physical location support |
|
* |
|
* Author: Won Chung <[email protected]> |
|
*/ |
|
|
|
#include <linux/device.h> |
|
|
|
#ifdef CONFIG_ACPI |
|
extern bool dev_add_physical_location(struct device *dev); |
|
extern const struct attribute_group dev_attr_physical_location_group; |
|
#else |
|
static inline bool dev_add_physical_location(struct device *dev) { return false; }; |
|
static const struct attribute_group dev_attr_physical_location_group = {}; |
|
#endif
|
|
|