int fc8050_spi_init(HANDLE hDevice, fci_u16 param1, fci_u16 param2)
{
#if 0
	int res;

	res = spi_register_driver(&fc8050_spi_driver);
	
	if(res)
	{
		PRINTF(0, "fc8050_spi register fail : %d\n", res);
		return BBM_NOK;
	}
#endif

	fc8050_spi = tdmb_fc8050_get_spi_device();
	if(fc8050_spi == NULL)
	{
		printk("spi device is not ready \n");
		return BBM_NOK;
	}

	data_buf = kmalloc(8192, GFP_DMA|GFP_KERNEL);
	if (!data_buf)
	{
		printk("spi data_buf kmalloc fail \n");
		return BBM_NOK;
	}
	
	return BBM_OK;
}
int fc8050_spi_init(HANDLE hDevice, fci_u16 param1, fci_u16 param2)
{
#if 0
	int res;

	res = spi_register_driver(&fc8050_spi_driver);
	
	if(res)
	{
		PRINTF(0, "fc8050_spi register fail : %d\n", res);
		return BBM_NOK;
	}
#endif

	fc8050_spi = tdmb_fc8050_get_spi_device();
	if(fc8050_spi == NULL)
	{
		printk("spi device is not ready \n");
		return BBM_NOK;
	}

	return BBM_OK;
}