init_timer(&mmc_detect.detect_timer); mmc_detect.detect_timer.function = mmc_detect_callback; mmc_detect.detect_timer.data = (unsigned long) &mmc_detect; 
corgi_mci_platform_data.detect_delay = msecs_to_jiffies(250); 
static int corgi_mci_init(struct device *dev, irqreturn_t (*unused_detect_int)(int, void *, struct pt_regs *), void *data){	int err;	/* setup GPIO for PXA25x MMC controller	*/	pxa_gpio_mode(GPIO6_MMCCLK_MD);	pxa_gpio_mode(GPIO8_MMCCS0_MD);	pxa_gpio_mode(CORGI_GPIO_nSD_DETECT | GPIO_IN);	pxa_gpio_mode(CORGI_GPIO_SD_PWR | GPIO_OUT);	init_timer(&mmc_detect.detect_timer);	mmc_detect.detect_timer.function = mmc_detect_callback;	mmc_detect.detect_timer.data = (unsigned long) &mmc_detect;	err = request_irq(CORGI_IRQ_GPIO_nSD_DETECT, corgi_mmc_detect_int, SA_INTERRUPT,			     "MMC card detect", data);	if (err) {		printk(KERN_ERR "corgi_mci_init: MMC/SD: can't request MMC card detect IRQ\n");		return -1;	}	set_irq_type(CORGI_IRQ_GPIO_nSD_DETECT, IRQT_BOTHEDGE);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/aa6c2e794f7e1f54dc52c84471c750327fa21ccd/corgi.c/clean/arch/arm/mach-pxa/corgi.c