Beispiel #1
0
/* device management */
static int s5p_serial_probe(struct platform_device *dev)
{
#if defined(CONFIG_CPU_S5PV210) || defined(CONFIG_CPU_S5P6442)
	int ret;
#endif
	dbg("s5p_serial_probe: dev=%p\n", dev);
#if defined(CONFIG_CPU_S5PV210) || defined(CONFIG_CPU_S5P6442)
	ret = s3c24xx_serial_probe(dev, &s5p_uart_inf[uart_port]);
	uart_port++;
	return ret;
#else
	return s3c24xx_serial_probe(dev, &s5p_uart_inf);
#endif
}
Beispiel #2
0
static int s3c2410_serial_probe(struct platform_device *dev)
{
	return s3c24xx_serial_probe(dev, &s3c2410_uart_inf);
}
Beispiel #3
0
/* device management */
static int s5p_serial_probe(struct platform_device *dev)
{
	dbg("s5p_serial_probe: dev=%p\n", dev);
	return s3c24xx_serial_probe(dev, &s5p_uart_inf);
}
Beispiel #4
0
/* device management */
static int s5p_serial_probe(struct platform_device *pdev)
{
	return s3c24xx_serial_probe(pdev, s5p_uart_inf[pdev->id]);
}
Beispiel #5
0
static int s3c2440_serial_probe(struct device *dev)
{
	dbg("s3c2440_serial_probe: dev=%p\n", dev);
	return s3c24xx_serial_probe(dev, &s3c2440_uart_inf);
}
Beispiel #6
0
static int s3c2400_serial_probe(struct device *dev)
{
	return s3c24xx_serial_probe(dev, &s3c2400_uart_inf);
}