Sigh, this isn't my finest hour.  My patch adds an unused variable
warning when !CONFIG_PNP_DEBUG.  Can you please add this additional
patch?


PNP: add debug message for adding new device (fix unused var)

Signed-off-by: Bjorn Helgaas <[EMAIL PROTECTED]>

Index: w/drivers/pnp/core.c
===================================================================
--- w.orig/drivers/pnp/core.c   2007-10-11 14:33:31.000000000 -0600
+++ w/drivers/pnp/core.c        2007-10-11 14:33:40.000000000 -0600
@@ -141,7 +141,9 @@
 int pnp_add_device(struct pnp_dev *dev)
 {
        int ret;
+#ifdef CONFIG_PNP_DEBUG
        struct pnp_id *id;
+#endif
 
        if (dev->card)
                return -EINVAL;
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to