OMAPDSS: VENC: fix NULL pointer dereference in DSS2 VENC sysfs debug attr on OMAP4
[zen-stable.git] / drivers / mfd / ab5500-debugfs.h
blob7330a9b6afa61aa58fafd73f10df5487755fa8c4
1 /*
2 * Copyright (C) 2011 ST-Ericsson
3 * License terms: GNU General Public License (GPL) version 2
4 * Debugfs interface to the AB5500 core driver
5 */
7 #ifdef CONFIG_DEBUG_FS
9 void ab5500_setup_debugfs(struct ab5500 *ab);
10 void ab5500_remove_debugfs(void);
12 #else /* !CONFIG_DEBUG_FS */
14 static inline void ab5500_setup_debugfs(struct ab5500 *ab)
18 static inline void ab5500_remove_debugfs(void)
22 #endif