[CPQPHP] Fix build without hotplug

From: Herbert Xu
Date: Fri Apr 16 2004 - 17:25:19 EST


Hi:

This patch makes cpqphp build without procfs.

Cheers,
--
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Index: drivers/hotplug/Makefile
===================================================================
RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.4/drivers/hotplug/Makefile,v
retrieving revision 1.1.1.5
diff -u -r1.1.1.5 Makefile
--- a/drivers/hotplug/Makefile 30 Aug 2003 06:01:37 -0000 1.1.1.5
+++ b/drivers/hotplug/Makefile 16 Apr 2004 22:16:13 -0000
@@ -18,7 +18,6 @@

cpqphp-objs := cpqphp_core.o \
cpqphp_ctrl.o \
- cpqphp_proc.o \
cpqphp_pci.o

ibmphp-objs := ibmphp_core.o \
@@ -36,6 +35,10 @@
cpqphp-objs += cpqphp_nvram.o
endif

+ifeq ($(CONFIG_PROC_FS),y)
+ cpqphp-objs += cpqphp_proc.o
+endif
+

include $(TOPDIR)/Rules.make