Revision 87ecb68b hw/omap_mmc.c

b/hw/omap_mmc.c
18 18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
19 19
 * MA 02111-1307 USA
20 20
 */
21
#include "vl.h"
21
#include "hw.h"
22
#include "omap.h"
22 23
#include "sd.h"
23 24

  
24 25
struct omap_mmc_s {
......
507 508
}
508 509

  
509 510
struct omap_mmc_s *omap_mmc_init(target_phys_addr_t base,
511
                BlockDriverState *bd,
510 512
                qemu_irq irq, qemu_irq dma[], omap_clk clk)
511 513
{
512 514
    int iomemtype;
......
523 525
    cpu_register_physical_memory(s->base, 0x800, iomemtype);
524 526

  
525 527
    /* Instantiate the storage */
526
    s->card = sd_init(sd_bdrv);
528
    s->card = sd_init(bd);
527 529

  
528 530
    return s;
529 531
}

Also available in: Unified diff