blob: 258aa128b658f14c2974ace1aa14abc77ee466f9 [file] [log] [blame]
/*
* 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 struct device *sec_device_find(const char *name);
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 */