5 static int __init
glamo_mmc_probe(struct platform_device
*pdev
) {
8 struct glamo_host
*host
;
12 res
= platform_get_resource(pdev
, IO_RESOURCE_MEM
, 0);
13 irq
= platform_get_irq(pdev
, 0);
16 res
= request_mem_region(res
->start
, res
->end
- res
->start
+ 1, pdev
->name
);
18 mmc
= mmc_alloc_host(sizeof(struct glamo_host
), &pdev
->dev
);
20 mmc
->ops
= &glamo_mmc_ops
;
26 mmc
->caps
= MMC_CAP_4_BIT_DATA
;
This page took 0.04451 seconds and 5 git commands to generate.