From a79a5b55e287dcf73d8acd92089aea1b1d8bf9c3 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:10:03 +0000 Subject: Signed-Off-Number: Holger Freyther --- include/linux/sdio/sdio_busdriver.h | 2 +- include/linux/sdio/sdio_hcd_defs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/linux/sdio/sdio_busdriver.h b/include/linux/sdio/sdio_busdriver.h index b431d3de565..35e3ebbe928 100644 --- a/include/linux/sdio/sdio_busdriver.h +++ b/include/linux/sdio/sdio_busdriver.h @@ -477,7 +477,7 @@ typedef struct _SDDEVICE { struct _SDHCD *pHcd; /* host controller this device is on (internal use) */ SDDEVICE_INFO DeviceInfo; /* device info */ SD_PNP_INFO pId[1]; /* id of this device */ - OS_PNPDEVICE Device; /* device registration with base system */ + OS_PNPDEVICE *Device; /* device registration with base system */ SD_SLOT_CURRENT SlotCurrentAlloc; /* allocated slot current for this device/function (internal use) */ SD_DEVICE_FLAGS Flags; /* internal use flags */ CT_VERSION_CODE Version; /* version code of the bus driver */ diff --git a/include/linux/sdio/sdio_hcd_defs.h b/include/linux/sdio/sdio_hcd_defs.h index 178246923f7..e6115a2012a 100644 --- a/include/linux/sdio/sdio_hcd_defs.h +++ b/include/linux/sdio/sdio_hcd_defs.h @@ -213,7 +213,7 @@ SDIO_STATUS SDIO_RegisterHostController(PSDHCD pHcd); SDIO_STATUS SDIO_UnregisterHostController(PSDHCD pHcd); SDIO_STATUS SDIO_HandleHcdEvent(PSDHCD pHcd, HCD_EVENT Event); SDIO_STATUS SDIO_CheckResponse(PSDHCD pHcd, PSDREQUEST pReq, SDHCD_RESPONSE_CHECK_MODE CheckMode); -SDIO_STATUS SDIO_BusAddOSDevice(PSDDMA_DESCRIPTION pDma, POS_PNPDRIVER pDriver, POS_PNPDEVICE pDevice); +SDIO_STATUS SDIO_BusAddOSDevice(PSDDMA_DESCRIPTION pDma, POS_PNPDRIVER pDriver, POS_PNPDEVICE *pDevice, const char* name); void SDIO_BusRemoveOSDevice(POS_PNPDRIVER pDriver, POS_PNPDEVICE pDevice); #endif /* __SDIO_BUSDRIVER_H___ */ -- cgit v1.2.3