summaryrefslogblamecommitdiffstats
path: root/c/src/lib/libbsp/arm/gp32/smc/smc.h
blob: cd886ef2195aed14795bbbf559b2eb65c102be30 (plain) (tree)
1
2

                 























                                                           

      
#ifndef __SMC_H__
#define __SMC_H__

#ifdef __cplusplus
extern "C" {
#endif

#include <rtems.h>

#include "rtems/blkdev.h"

/* smc_initialize --
 *     SMC disk driver initialization entry point.
 */
rtems_device_driver
smc_initialize(
    rtems_device_major_number major,
    rtems_device_minor_number minor,
    void *arg);

#define SMC_DRIVER_TABLE_ENTRY \
    { smc_initialize, GENERIC_BLOCK_DEVICE_DRIVER_ENTRIES }

#ifdef __cplusplus
}
#endif

#endif