]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
spectrum_cs: Fix function names used in debug strings
authorDavid Kilroy <kilroyd@googlemail.com>
Tue, 9 Dec 2008 23:05:38 +0000 (23:05 +0000)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 19:02:02 +0000 (14:02 -0500)
Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/spectrum_cs.c

index a2764764c1c0112f6692b96e82765c2e311e462c..b2ca2e39c2cbd41943ca878895f7e55001cd4b13 100644 (file)
@@ -248,13 +248,17 @@ static int spectrum_cs_config_check(struct pcmcia_device *p_dev,
        /* Note that the CIS values need to be rescaled */
        if (cfg->vcc.present & (1 << CISTPL_POWER_VNOM)) {
                if (vcc != cfg->vcc.param[CISTPL_POWER_VNOM] / 10000) {
-                       DEBUG(2, "spectrum_cs_config: Vcc mismatch (vcc = %d, CIS = %d)\n",  vcc, cfg->vcc.param[CISTPL_POWER_VNOM] / 10000);
+                       DEBUG(2, "%s: Vcc mismatch (vcc = %d, CIS = %d)\n",
+                             __func__, vcc,
+                             cfg->vcc.param[CISTPL_POWER_VNOM] / 10000);
                        if (!ignore_cis_vcc)
                                goto next_entry;
                }
        } else if (dflt->vcc.present & (1 << CISTPL_POWER_VNOM)) {
                if (vcc != dflt->vcc.param[CISTPL_POWER_VNOM] / 10000) {
-                       DEBUG(2, "spectrum_cs_config: Vcc mismatch (vcc = %d, CIS = %d)\n",  vcc, dflt->vcc.param[CISTPL_POWER_VNOM] / 10000);
+                       DEBUG(2, "%s: Vcc mismatch (vcc = %d, CIS = %d)\n",
+                             __func__, vcc,
+                             dflt->vcc.param[CISTPL_POWER_VNOM] / 10000);
                        if (!ignore_cis_vcc)
                                goto next_entry;
                }