aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debugfs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-debugfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
index a12b8d47ccbc..a01beb31d994 100644
--- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c
@@ -254,7 +254,7 @@ static ssize_t iwl_dbgfs_sram_read(struct file *file,
254 sram = priv->dbgfs_sram_offset & ~0x3; 254 sram = priv->dbgfs_sram_offset & ~0x3;
255 255
256 /* read the first u32 from sram */ 256 /* read the first u32 from sram */
257 val = iwl_read_targ_mem(priv, sram); 257 val = iwl_read_targ_mem(bus(priv), sram);
258 258
259 for (; len; len--) { 259 for (; len; len--) {
260 /* put the address at the start of every line */ 260 /* put the address at the start of every line */
@@ -273,7 +273,7 @@ static ssize_t iwl_dbgfs_sram_read(struct file *file,
273 if (++offset == 4) { 273 if (++offset == 4) {
274 sram += 4; 274 sram += 4;
275 offset = 0; 275 offset = 0;
276 val = iwl_read_targ_mem(priv, sram); 276 val = iwl_read_targ_mem(bus(priv), sram);
277 } 277 }
278 278
279 /* put in extra spaces and split lines for human readability */ 279 /* put in extra spaces and split lines for human readability */
@@ -1954,7 +1954,7 @@ static ssize_t iwl_dbgfs_power_save_status_read(struct file *file,
1954 const size_t bufsz = sizeof(buf); 1954 const size_t bufsz = sizeof(buf);
1955 u32 pwrsave_status; 1955 u32 pwrsave_status;
1956 1956
1957 pwrsave_status = iwl_read32(priv, CSR_GP_CNTRL) & 1957 pwrsave_status = iwl_read32(bus(priv), CSR_GP_CNTRL) &
1958 CSR_GP_REG_POWER_SAVE_STATUS_MSK; 1958 CSR_GP_REG_POWER_SAVE_STATUS_MSK;
1959 1959
1960 pos += scnprintf(buf + pos, bufsz - pos, "Power Save Status: "); 1960 pos += scnprintf(buf + pos, bufsz - pos, "Power Save Status: ");