mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
fc9499e55a
* Package version: T713XXU2BQCO Change-Id: I293d9e7f2df458c512d59b7a06f8ca6add610c99
29 lines
759 B
C
29 lines
759 B
C
/*
|
|
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef SEC_SYSFS_H
|
|
#define SEC_SYSFS_H
|
|
|
|
#ifdef CONFIG_SEC_SYSFS
|
|
extern struct device *sec_device_create(void *drvdata, const char *fmt);
|
|
extern void sec_device_destroy(dev_t devt);
|
|
#else
|
|
static inline struct device *sec_device_create(void *drvdata, const char *fmt)
|
|
{
|
|
pr_err("No rule to make sec sysfs\n");
|
|
return NULL;
|
|
}
|
|
static inline void sec_device_destroy(dev_t devt)
|
|
{
|
|
return;
|
|
}
|
|
#endif
|
|
|
|
#endif /* SEC_SYSFS_H */
|