diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-02-13 11:23:14 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-22 14:51:13 -0500 |
commit | 93b7654ec563a929a62da70324e834eeb18a2778 (patch) | |
tree | 20618aac25e9651bb971beaa0a24eac3553a5d95 /drivers/net/wireless/iwlegacy/3945-mac.c | |
parent | 3dfea27d103e9913698cf1a2c86745a74c7c556b (diff) | |
download | talos-op-linux-93b7654ec563a929a62da70324e834eeb18a2778.tar.gz talos-op-linux-93b7654ec563a929a62da70324e834eeb18a2778.zip |
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/3945-mac.c')
-rw-r--r-- | drivers/net/wireless/iwlegacy/3945-mac.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlegacy/3945-mac.c b/drivers/net/wireless/iwlegacy/3945-mac.c index 63ec05b15ba3..b7d5ebc512d3 100644 --- a/drivers/net/wireless/iwlegacy/3945-mac.c +++ b/drivers/net/wireless/iwlegacy/3945-mac.c @@ -3619,6 +3619,9 @@ il3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) D_INFO("*** LOAD DRIVER ***\n"); il->cfg = cfg; il->ops = &il3945_ops; +#ifdef CONFIG_IWLEGACY_DEBUGFS + il->debugfs_ops = &il3945_debugfs_ops; +#endif il->pci_dev = pdev; il->inta_mask = CSR_INI_SET_MASK; |