Ignore:
Timestamp:
Jul 20, 2017, 2:59:04 PM (7 years ago)
Author:
max@…
Message:

Hide soclib_mmc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_mmc.c

    r238 r257  
    2424#include <hal_types.h>
    2525#include <hal_special.h>
    26 #include <soclib_mmc.h>
     26#include <hal_drivers.h>
    2727#include <printk.h>
    2828#include <chdev.h>
     
    4545    snprintf( mmc->name , 16 , "mmc_%x" , local_cxy );
    4646
    47     // set driver specific fields in device descriptor and call driver init function
    48     if( impl == IMPL_MMC_TSR )
    49     {
    50         mmc->cmd = &soclib_mmc_cmd;
    51         mmc->isr = &soclib_mmc_isr;
    52         soclib_mmc_init( mmc );
    53     }
    54     else
    55     {
    56         assert( false , __FUNCTION__ , "undefined MMC device implementation" );
    57     }
     47    // call driver init function
     48    hal_drivers_mmc_init( mmc , impl );
    5849
    5950    // bind IRQ to CP0
Note: See TracChangeset for help on using the changeset viewer.