diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-13 14:23:14 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-22 23:51:13 +0400 |
commit | 93b7654ec563a929a62da70324e834eeb18a2778 (patch) | |
tree | 20618aac25e9651bb971beaa0a24eac3553a5d95 /drivers/net/wireless/iwlegacy/4965-mac.c | |
parent | 3dfea27d103e9913698cf1a2c86745a74c7c556b (diff) | |
download | linux-93b7654ec563a929a62da70324e834eeb18a2778.tar.xz |
iwlegacy: move debugfs_ops to il_priv
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/4965-mac.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/4965-mac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlegacy/4965-mac.c b/drivers/net/wireless/iwlegacy/4965-mac.c index 4560021bb96d..36f85f289a25 100644 --- a/drivers/net/wireless/iwlegacy/4965-mac.c +++ b/drivers/net/wireless/iwlegacy/4965-mac.c @@ -6483,6 +6483,9 @@ il4965_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) D_INFO("*** LOAD DRIVER ***\n"); il->cfg = cfg; il->ops = &il4965_ops; +#ifdef CONFIG_IWLEGACY_DEBUGFS + il->debugfs_ops = &il4965_debugfs_ops; +#endif il->pci_dev = pdev; il->inta_mask = CSR_INI_SET_MASK; |