diff options
| author | Tony Truong <truong@codeaurora.org> | 2016-02-16 14:13:16 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:09:33 -0700 |
| commit | e64da3e4b86f68360820b18db56cdbf1c211fcf4 (patch) | |
| tree | 33a9a9af54f500551c8d94f06acc742ce5c8ee6c | |
| parent | 6aa3ab6d1eeef5999ecfb1709d0f87b5fae9dbbf (diff) | |
msm: pcie: fix compilation erros if debugfs is disabled
This change fixes the compilation erros seen when DEBUG_FS is disabled.
Signed-off-by: Tony Truong <truong@codeaurora.org>
| -rw-r--r-- | drivers/pci/host/pci-msm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/host/pci-msm.c b/drivers/pci/host/pci-msm.c index 41fc27b5c096..a66c18b765a6 100644 --- a/drivers/pci/host/pci-msm.c +++ b/drivers/pci/host/pci-msm.c @@ -609,7 +609,6 @@ module_param_named(debug_mask, msm_pcie_debug_mask, /* debugfs values */ static u32 rc_sel; -static u32 rc_sel_max; static u32 base_sel; static u32 wr_offset; static u32 wr_mask; @@ -2288,6 +2287,8 @@ static struct dentry *dfile_wr_mask; static struct dentry *dfile_wr_value; static struct dentry *dfile_corr_counter_limit; +static u32 rc_sel_max; + static ssize_t msm_pcie_cmd_debug(struct file *file, const char __user *buf, size_t count, loff_t *ppos) |
