| 
									
										
										
										
											2012-05-11 17:25:46 +03:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * debug.h - ChipIdea USB driver debug interfaces | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Author: David Lopo | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or modify | 
					
						
							|  |  |  |  * it under the terms of the GNU General Public License version 2 as | 
					
						
							|  |  |  |  * published by the Free Software Foundation. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __DRIVERS_USB_CHIPIDEA_DEBUG_H
 | 
					
						
							|  |  |  | #define __DRIVERS_USB_CHIPIDEA_DEBUG_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef CONFIG_USB_CHIPIDEA_DEBUG
 | 
					
						
							| 
									
										
										
										
											2013-06-24 14:46:36 +03:00
										 |  |  | int dbg_create_files(struct ci_hdrc *ci); | 
					
						
							|  |  |  | void dbg_remove_files(struct ci_hdrc *ci); | 
					
						
							| 
									
										
										
										
											2012-05-11 17:25:46 +03:00
										 |  |  | #else
 | 
					
						
							| 
									
										
										
										
											2013-06-24 14:46:36 +03:00
										 |  |  | static inline int dbg_create_files(struct ci_hdrc *ci) | 
					
						
							| 
									
										
										
										
											2012-05-11 17:25:46 +03:00
										 |  |  | { | 
					
						
							|  |  |  | 	return 0; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2013-06-24 14:46:36 +03:00
										 |  |  | static inline void dbg_remove_files(struct ci_hdrc *ci) | 
					
						
							| 
									
										
										
										
											2012-05-11 17:25:46 +03:00
										 |  |  | { | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif /* __DRIVERS_USB_CHIPIDEA_DEBUG_H */
 |