Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
07d3c15a
Commit
07d3c15a
authored
Apr 27, 2012
by
Wey-Yi Guy
Committed by
John W. Linville
May 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iwlwifi: modify #ifdef to avoid sparse complain
Signed-off-by:
Wey-Yi Guy
<
wey-yi.w.guy@intel.com
>
parent
c7d25828
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
19 deletions
+18
-19
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-agn.c
+17
-18
drivers/net/wireless/iwlwifi/iwl-agn.h
drivers/net/wireless/iwlwifi/iwl-agn.h
+1
-1
No files found.
drivers/net/wireless/iwlwifi/iwl-agn.c
View file @
07d3c15a
...
...
@@ -1420,37 +1420,37 @@ void iwl_set_hw_params(struct iwl_priv *priv)
void
iwl_debug_config
(
struct
iwl_priv
*
priv
)
/* show what optional capabilities we have */
void
iwl_option_config
(
struct
iwl_priv
*
priv
)
{
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUG "
#ifdef CONFIG_IWLWIFI_DEBUG
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUG
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUG
disabled
\n
"
);
#endif
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUGFS "
#ifdef CONFIG_IWLWIFI_DEBUGFS
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUGFS
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEBUGFS
disabled
\n
"
);
#endif
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TRACING "
#ifdef CONFIG_IWLWIFI_DEVICE_TRACING
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TRACING
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TRACING
disabled
\n
"
);
#endif
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TESTMODE "
#ifdef CONFIG_IWLWIFI_DEVICE_TESTMODE
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TESTMODE
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_DEVICE_TESTMODE
disabled
\n
"
);
#endif
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_P2P "
#ifdef CONFIG_IWLWIFI_P2P
"
enabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_P2P
enabled
\n
"
);
#else
"
disabled
\n
"
);
IWL_INFO
(
priv
,
"CONFIG_IWLWIFI_P2P
disabled
\n
"
);
#endif
}
...
...
@@ -1569,8 +1569,7 @@ static struct iwl_op_mode *iwl_op_mode_dvm_start(struct iwl_trans *trans,
SET_IEEE80211_DEV
(
priv
->
hw
,
priv
->
trans
->
dev
);
/* show what debugging capabilities we have */
iwl_debug_config
(
priv
);
iwl_option_config
(
priv
);
IWL_DEBUG_INFO
(
priv
,
"*** LOAD DRIVER ***
\n
"
);
...
...
drivers/net/wireless/iwlwifi/iwl-agn.h
View file @
07d3c15a
...
...
@@ -523,7 +523,7 @@ static inline const char *iwl_dvm_get_cmd_string(u8 cmd)
void
iwl_setup_deferred_work
(
struct
iwl_priv
*
priv
);
int
iwl_send_wimax_coex
(
struct
iwl_priv
*
priv
);
int
iwl_send_bt_env
(
struct
iwl_priv
*
priv
,
u8
action
,
u8
type
);
void
iwl_
debug
_config
(
struct
iwl_priv
*
priv
);
void
iwl_
option
_config
(
struct
iwl_priv
*
priv
);
void
iwl_set_hw_params
(
struct
iwl_priv
*
priv
);
void
iwl_init_context
(
struct
iwl_priv
*
priv
,
u32
ucode_flags
);
int
iwl_init_drv
(
struct
iwl_priv
*
priv
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment