mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
9090b84a7b
The function ODM_ReadAndConfig_RadioA_1T_8188E() has return type 'enum HAL_STATUS'. Convert the return type to int and use common kernel error logic. Return 0 on success and negative values on failure. The goal is to get rid of enum HAL_STATUS in the end. Signed-off-by: Michael Straube <straube.linux@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Link: https://lore.kernel.org/r/20220928144323.13164-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 lines
480 B
C
13 lines
480 B
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
|
|
|
#ifndef __INC_RF_8188E_HW_IMG_H
|
|
#define __INC_RF_8188E_HW_IMG_H
|
|
|
|
/******************************************************************************
|
|
* RadioA_1T.TXT
|
|
******************************************************************************/
|
|
|
|
int ODM_ReadAndConfig_RadioA_1T_8188E(struct odm_dm_struct *odm);
|
|
|
|
#endif /* end of HWIMG_SUPPORT */
|