aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-08-02 04:55:54 -0400
committerThierry Reding <thierry.reding@avionic-design.de>2012-08-17 08:08:24 -0400
commitecefeb79218064bf011c5d3ff25322ffa60c302c (patch)
treef05f66fc835d04ba8e040d6fcfc2a5bc139877d9 /tools
parentdfeb86ecde7ae6ce15bd69a6a205b5e13aea8111 (diff)
pwm: samsung: add missing device pointer to struct pwm_chip
This patch adds missing device pointer to struct pwm_chip. If the device pointer is NULL, pwmchip_add() will return error. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
class="hl num">4; } } #ifdef CONFIG_REISERFS_FS_POSIX_ACL struct posix_acl *reiserfs_get_acl(struct inode *inode, int type); int reiserfs_acl_chmod(struct inode *inode); int reiserfs_inherit_default_acl(struct inode *dir, struct dentry *dentry, struct inode *inode); int reiserfs_cache_default_acl(struct inode *dir); extern int reiserfs_xattr_posix_acl_init(void) __init; extern int reiserfs_xattr_posix_acl_exit(void); extern struct reiserfs_xattr_handler posix_acl_default_handler; extern struct reiserfs_xattr_handler posix_acl_access_handler; static inline void reiserfs_init_acl_access(struct inode *inode) { REISERFS_I(inode)->i_acl_access = NULL; } static inline void reiserfs_init_acl_default(struct inode *inode) { REISERFS_I(inode)->i_acl_default = NULL; } #else #define reiserfs_cache_default_acl(inode) 0 static inline struct posix_acl *reiserfs_get_acl(struct inode *inode, int type) { return NULL; } static inline int reiserfs_xattr_posix_acl_init(void) { return 0; } static inline int reiserfs_xattr_posix_acl_exit(void) { return 0; } static inline int reiserfs_acl_chmod(struct inode *inode) { return 0; } static inline int reiserfs_inherit_default_acl(const struct inode *dir, struct dentry *dentry, struct inode *inode) { return 0; } static inline void reiserfs_init_acl_access(struct inode *inode) { } static inline void reiserfs_init_acl_default(struct inode *inode) { } #endif