mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
17 lines
476 B
C
17 lines
476 B
C
![]() |
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
/*
|
||
|
* Device physical location support
|
||
|
*
|
||
|
* Author: Won Chung <wonchung@google.com>
|
||
|
*/
|
||
|
|
||
|
#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
|