mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
698bd81fe8
The efuse_eeprom_data array in struct eeprom_priv is used only by ReadAdapterInfo8188EU. We can remove efuse_eeprom_data and use a local buffer instead. Use EFUSE_MAP_LEN_88E as buffer size. Its value is the same as HWSET_MAX_SIZE_512. The functions that access the buffer use EFUSE_MAP_LEN_88E for its size. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220709171000.180481-6-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
15 lines
357 B
C
15 lines
357 B
C
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
|
|
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
|
|
|
#ifndef __RTW_EEPROM_H__
|
|
#define __RTW_EEPROM_H__
|
|
|
|
#include "osdep_service.h"
|
|
#include "drv_types.h"
|
|
|
|
struct eeprom_priv {
|
|
u8 bautoload_fail_flag;
|
|
u8 mac_addr[ETH_ALEN] __aligned(2); /* PermanentAddress */
|
|
};
|
|
|
|
#endif /* __RTL871X_EEPROM_H__ */
|