1
0
This repository has been archived on 2025-07-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
orange_kernel/drivers/base/physical_location.h
2025-03-18 09:50:07 +08:00

17 lines
469 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
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