blob: ff925dedacaf06089028aefae3458f00af09d83c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// SPDX-License-Identifier: GPL-2.0-or-later
/* Compatibility with the original ACPI platform profile sysfs ABI. */
#include <linux/acpi.h>
#include <linux/kobject.h>
#include "profile.h"
struct kobject *platform_profile_compat_kobj(void)
{
if (acpi_disabled)
return NULL;
return kobject_get(acpi_kobj);
}
|