mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
30 lines
759 B
C
30 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 */
|