mirror of
https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
synced 2025-12-08 17:46:21 +01:00
Remove wrong usage of __no_const
This commit is contained in:
@@ -271,7 +271,7 @@ struct hal_ops {
|
|||||||
void (*hal_reset_security_engine)(_adapter * adapter);
|
void (*hal_reset_security_engine)(_adapter * adapter);
|
||||||
s32 (*c2h_handler)(_adapter *padapter, struct c2h_evt_hdr *c2h_evt);
|
s32 (*c2h_handler)(_adapter *padapter, struct c2h_evt_hdr *c2h_evt);
|
||||||
c2h_id_filter c2h_id_filter_ccx;
|
c2h_id_filter c2h_id_filter_ccx;
|
||||||
} __no_const;
|
};
|
||||||
|
|
||||||
typedef enum _RT_EEPROM_TYPE{
|
typedef enum _RT_EEPROM_TYPE{
|
||||||
EEPROM_93C46,
|
EEPROM_93C46,
|
||||||
@@ -539,4 +539,3 @@ s32 rtw_hal_c2h_handler(_adapter *adapter, struct c2h_evt_hdr *c2h_evt);
|
|||||||
c2h_id_filter rtw_hal_c2h_id_filter_ccx(_adapter *adapter);
|
c2h_id_filter rtw_hal_c2h_id_filter_ccx(_adapter *adapter);
|
||||||
|
|
||||||
#endif //__HAL_INTF_H__
|
#endif //__HAL_INTF_H__
|
||||||
|
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ struct _io_ops
|
|||||||
void (*_read_port_cancel)(struct intf_hdl *pintfhdl);
|
void (*_read_port_cancel)(struct intf_hdl *pintfhdl);
|
||||||
void (*_write_port_cancel)(struct intf_hdl *pintfhdl);
|
void (*_write_port_cancel)(struct intf_hdl *pintfhdl);
|
||||||
|
|
||||||
} __no_const;
|
};
|
||||||
|
|
||||||
struct io_req {
|
struct io_req {
|
||||||
_list list;
|
_list list;
|
||||||
@@ -507,4 +507,3 @@ extern void dev_power_down(_adapter * Adapter, u8 bpwrup);
|
|||||||
rtw_read32(_a,_b)
|
rtw_read32(_a,_b)
|
||||||
|
|
||||||
#endif //_RTL8711_IO_H_
|
#endif //_RTL8711_IO_H_
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user