Patch: linux-2.5.2-pre8/drivers/parport/parport_cs.c need <linux/major.h> to compile

From: Adam J. Richter (adam@yggdrasil.com)
Date: Sat Jan 05 2002 - 06:12:28 EST


        linux-2.5.2/drivers/parport/parport_cs.c needed to include
<linux/major.h> to get LP_MAJOR in order to compile. To address
a compiler warning, I also put an appropriate ifdef around the
declaration of a variable that is only used with certain kernel versions.

        I have not tested this code. I only know that it now compiles.

-- 
Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:28 EST