wlcore, wl1251: fix spelling: "Couldnt" -> "Couldn't" and remove error on -ENOMEM
[linux-2.6/btrfs-unstable.git] / drivers / staging / rtl8723bs / include / rtw_wifi_regd.h
blobab5a8627d3712e07ae3163ecbaf7d14544b35467
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2009-2010 Realtek Corporation.
6 *****************************************************************************/
8 #ifndef __RTW_WIFI_REGD_H__
9 #define __RTW_WIFI_REGD_H__
11 struct country_code_to_enum_rd {
12 u16 countrycode;
13 const char *iso_name;
16 enum country_code_type_t {
17 COUNTRY_CODE_USER = 0,
19 /*add new channel plan above this line */
20 COUNTRY_CODE_MAX
23 int rtw_regd_init(struct adapter *padapter,
24 void (*reg_notifier)(struct wiphy *wiphy,
25 struct regulatory_request *request));
26 void rtw_reg_notifier(struct wiphy *wiphy, struct regulatory_request *request);
29 #endif