Rename usbmsc_archinitialize to board_usbmsc_initialize

This commit is contained in:
Gregory Nutt
2016-03-25 12:09:37 -06:00
parent 426ff59f80
commit 0334d4b4cd
30 changed files with 175 additions and 129 deletions
+6 -4
View File
@@ -1,7 +1,7 @@
/****************************************************************************
* configs/twr-k60n512/src/k60_usbmsc.c
*
* Copyright (C) 2011, 2013 Gregory Nutt. All rights reserved.
* Copyright (C) 2011, 2013, 2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Configure and register the Kinetis MMC/SD block driver.
@@ -45,6 +45,7 @@
#include <syslog.h>
#include <errno.h>
#include <nuttx/board.h>
#include <nuttx/sdio.h>
#include <nuttx/mmcsd.h>
@@ -75,14 +76,15 @@
****************************************************************************/
/****************************************************************************
* Name: usbmsc_archinitialize
* Name: board_usbmsc_initialize
*
* Description:
* Perform architecture specific initialization
* Perform architecture specific initialization as needed to establish
* the mass storage device that will be exported by the USB MSC device.
*
****************************************************************************/
int usbmsc_archinitialize(void)
int board_usbmsc_initialize(int port)
{
/* If system/usbmsc is built as an NSH command, then SD slot should
* already have been initialized in board_app_initialize() (see k60_appinit.c).