| 
					
				 | 
			
			
				@@ -212,3 +212,22 @@ static struct spi_gpio_platform_data smartq_lcd_control = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 static struct platform_device smartq_lcd_control_device = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	.name			= "spi-gpio", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.id			= 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.dev.platform_data	= &smartq_lcd_control, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static void smartq_lcd_power_set(struct plat_lcd_data *pd, unsigned int power) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	gpio_direction_output(S3C64XX_GPM(3), power); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct plat_lcd_data smartq_lcd_power_data = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.set_power	= smartq_lcd_power_set, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+static struct platform_device smartq_lcd_power_device = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.name			= "platform-lcd", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.dev.parent		= &s3c_device_fb.dev, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	.dev.platform_data	= &smartq_lcd_power_data, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 |