diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-debugfs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-debugfs.c | 6 |
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 978a1d4c6a0a..136de6fb3fa4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/iwl-debugfs.c | |||
@@ -263,7 +263,7 @@ static ssize_t iwl_dbgfs_sram_read(struct file *file, | |||
263 | sram = priv->dbgfs_sram_offset & ~0x3; | 263 | sram = priv->dbgfs_sram_offset & ~0x3; |
264 | 264 | ||
265 | /* read the first u32 from sram */ | 265 | /* read the first u32 from sram */ |
266 | val = iwl_read_targ_mem(bus(priv), sram); | 266 | val = iwl_read_targ_mem(trans(priv), sram); |
267 | 267 | ||
268 | for (; len; len--) { | 268 | for (; len; len--) { |
269 | /* put the address at the start of every line */ | 269 | /* put the address at the start of every line */ |
@@ -282,7 +282,7 @@ static ssize_t iwl_dbgfs_sram_read(struct file *file, | |||
282 | if (++offset == 4) { | 282 | if (++offset == 4) { |
283 | sram += 4; | 283 | sram += 4; |
284 | offset = 0; | 284 | offset = 0; |
285 | val = iwl_read_targ_mem(bus(priv), sram); | 285 | val = iwl_read_targ_mem(trans(priv), sram); |
286 | } | 286 | } |
287 | 287 | ||
288 | /* put in extra spaces and split lines for human readability */ | 288 | /* put in extra spaces and split lines for human readability */ |
@@ -2055,7 +2055,7 @@ static ssize_t iwl_dbgfs_power_save_status_read(struct file *file, | |||
2055 | const size_t bufsz = sizeof(buf); | 2055 | const size_t bufsz = sizeof(buf); |
2056 | u32 pwrsave_status; | 2056 | u32 pwrsave_status; |
2057 | 2057 | ||
2058 | pwrsave_status = iwl_read32(bus(priv), CSR_GP_CNTRL) & | 2058 | pwrsave_status = iwl_read32(trans(priv), CSR_GP_CNTRL) & |
2059 | CSR_GP_REG_POWER_SAVE_STATUS_MSK; | 2059 | CSR_GP_REG_POWER_SAVE_STATUS_MSK; |
2060 | 2060 | ||
2061 | pos += scnprintf(buf + pos, bufsz - pos, "Power Save Status: "); | 2061 | pos += scnprintf(buf + pos, bufsz - pos, "Power Save Status: "); |