mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
The kernel coding style does not require 'extern' in function prototypes in .h files, so remove them from drivers/base/physical_location.h as they are not needed. Acked-by: Rafael J. Wysocki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
17 lines
469 B
C
17 lines
469 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Device physical location support
|
|
*
|
|
* Author: Won Chung <[email protected]>
|
|
*/
|
|
|
|
#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
|