mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-25 02:09:42 +00:00
![Greg Kroah-Hartman](/assets/img/avatar_default.png)
Use the in-kernel u16 type instead. Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com> Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com> Cc: Riku Mettälä <riku.mettala@bluegiga.com> Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
82 lines
1.9 KiB
C
82 lines
1.9 KiB
C
/*
|
|
* Stubs for some of the bottom edge functions.
|
|
*
|
|
* These stubs are optional functions in the bottom edge (SDIO driver
|
|
* interface) API that not all platforms or SDIO drivers may support.
|
|
*
|
|
* They're declared as weak symbols so they can be overridden by
|
|
* simply providing a non-weak declaration.
|
|
*
|
|
* Copyright (C) 2007-2008 by Cambridge Silicon Radio Ltd.
|
|
*
|
|
* Refer to LICENSE.txt included with this source code for details on
|
|
* the license terms.
|
|
*
|
|
*/
|
|
#include "csr_wifi_hip_unifi.h"
|
|
|
|
void __attribute__((weak)) CsrSdioFunctionIdle(CsrSdioFunction *function)
|
|
{
|
|
}
|
|
|
|
void __attribute__((weak)) CsrSdioFunctionActive(CsrSdioFunction *function)
|
|
{
|
|
}
|
|
|
|
CsrResult __attribute__((weak)) CsrSdioPowerOn(CsrSdioFunction *function)
|
|
{
|
|
return CSR_RESULT_SUCCESS;
|
|
}
|
|
|
|
void __attribute__((weak)) CsrSdioPowerOff(CsrSdioFunction *function)
|
|
{
|
|
}
|
|
|
|
CsrResult __attribute__((weak)) CsrSdioHardReset(CsrSdioFunction *function)
|
|
{
|
|
return CSR_SDIO_RESULT_NOT_RESET;
|
|
}
|
|
|
|
CsrResult __attribute__((weak)) CsrSdioBlockSizeSet(CsrSdioFunction *function,
|
|
u16 blockSize)
|
|
{
|
|
return CSR_RESULT_SUCCESS;
|
|
}
|
|
|
|
CsrResult __attribute__((weak)) CsrSdioSuspend(CsrSdioFunction *function)
|
|
{
|
|
return CSR_RESULT_SUCCESS;
|
|
}
|
|
|
|
CsrResult __attribute__((weak)) CsrSdioResume(CsrSdioFunction *function)
|
|
{
|
|
return CSR_RESULT_SUCCESS;
|
|
}
|
|
|
|
int __attribute__((weak)) csr_sdio_linux_install_irq(CsrSdioFunction *function)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int __attribute__((weak)) csr_sdio_linux_remove_irq(CsrSdioFunction *function)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
void __attribute__((weak)) CsrSdioInsertedAcknowledge(CsrSdioFunction *function, CsrResult result)
|
|
{
|
|
}
|
|
|
|
void __attribute__((weak)) CsrSdioRemovedAcknowledge(CsrSdioFunction *function)
|
|
{
|
|
}
|
|
|
|
void __attribute__((weak)) CsrSdioSuspendAcknowledge(CsrSdioFunction *function, CsrResult result)
|
|
{
|
|
}
|
|
|
|
void __attribute__((weak)) CsrSdioResumeAcknowledge(CsrSdioFunction *function, CsrResult result)
|
|
{
|
|
}
|
|
|
|
|