mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joshua Kwan <joshk@triplehelix.org>
To: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Cc: marcelo.tosatti@cyclades.com
Subject: [PATCH 2.4] hotplug: Don't build cpqphp_proc.o if !PROC_FS
Date: Sat, 18 Sep 2004 00:18:17 -0700	[thread overview]
Message-ID: <20040918071817.GA4864@darjeeling.triplehelix.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]

Hello,

This simple patch to drivers/hotplug/Makefile eliminates a build failure
for cpqphp if CONFIG_PROC_FS is disabled. Herbert Xu originally wrote
this patch.

Marcelo, please apply.

(Note: does not apply to 2.6 because stuff seems to have switched to
sysfs there.)

Signed-off-by: Joshua Kwan <joshk@triplehelix.org>

-- 
Joshua Kwan

# origin: Debian (herbert)
# cset: n/a
# inclusion: not submitted
# description: don't build cpqphp_proc.o if !PROC_FS
# revision date: 2004-09-05

diff -urN kernel-source-2.4.26/drivers/hotplug/Makefile kernel-source-2.4.26-1/drivers/hotplug/Makefile
--- kernel-source-2.4.26/drivers/hotplug/Makefile	2003-08-25 21:44:41.000000000 +1000
+++ kernel-source-2.4.26-1/drivers/hotplug/Makefile	2004-04-17 08:17:42.000000000 +1000
@@ -18,7 +18,6 @@
 
 cpqphp-objs		:=	cpqphp_core.o	\
 				cpqphp_ctrl.o	\
-				cpqphp_proc.o	\
 				cpqphp_pci.o
 
 ibmphp-objs		:=	ibmphp_core.o	\
@@ -36,5 +35,9 @@
 	cpqphp-objs += cpqphp_nvram.o
 endif
 
+ifeq ($(CONFIG_PROC_FS),y)
+	cpqphp-objs += cpqphp_proc.o
+endif
+
 include $(TOPDIR)/Rules.make
 

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 881 bytes --]

                 reply	other threads:[~2004-09-18  7:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040918071817.GA4864@darjeeling.triplehelix.org \
    --to=joshk@triplehelix.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®