| 
									
										
										
										
											2006-11-11 17:18:39 +11:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  * Arch specific extensions to struct device | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This file is released under the GPLv2 | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2009-07-31 07:47:17 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | struct dev_archdata { | 
					
						
							|  |  |  | }; | 
					
						
							| 
									
										
										
										
											2006-11-11 17:18:39 +11:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-07-16 19:02:54 +09:00
										 |  |  | struct platform_device; | 
					
						
							|  |  |  | /* allocate contiguous memory chunk and fill in struct resource */ | 
					
						
							|  |  |  | int platform_resource_setup_memory(struct platform_device *pdev, | 
					
						
							|  |  |  | 				   char *name, unsigned long memsize); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-04-15 10:50:21 +00:00
										 |  |  | void plat_early_device_setup(void); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-08-14 10:48:16 +00:00
										 |  |  | #define PDEV_ARCHDATA_FLAG_INIT 0
 | 
					
						
							|  |  |  | #define PDEV_ARCHDATA_FLAG_IDLE 1
 | 
					
						
							|  |  |  | #define PDEV_ARCHDATA_FLAG_SUSP 2
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-07-31 07:47:17 +00:00
										 |  |  | struct pdev_archdata { | 
					
						
							|  |  |  | 	int hwblk_id; | 
					
						
							| 
									
										
										
										
											2009-08-14 10:48:16 +00:00
										 |  |  | #ifdef CONFIG_PM_RUNTIME
 | 
					
						
							|  |  |  | 	unsigned long flags; | 
					
						
							|  |  |  | 	struct list_head entry; | 
					
						
							|  |  |  | 	struct mutex mutex; | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2009-07-31 07:47:17 +00:00
										 |  |  | }; |