summaryrefslogtreecommitdiff
path: root/drivers/platform/profile/profile.h
blob: 362eb8cc4592dda0db083c91b6d4e3843153e38e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _PLATFORM_PROFILE_INTERNAL_H
#define _PLATFORM_PROFILE_INTERNAL_H

#include <linux/kconfig.h>
#include <linux/kobject.h>

#ifdef CONFIG_PLATFORM_PROFILE_LEGACY
struct kobject *platform_profile_compat_kobj(void);
#else
static inline struct kobject *platform_profile_compat_kobj(void)
{
	return NULL;
}
#endif

#endif