mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH] PowerMac: Fix build of via-pmu driver with some .config's
Date: Wed, 03 Sep 2003 18:27:36 +0200	[thread overview]
Message-ID: <1062606456.1780.38.camel@gaston> (raw)

Hi Linus !

This patch fixes build of the via-pmu.c driver when
CONFIG_PMAC_PBOOK is not set. Please apply.

Regards,
Ben.

diff -urN for-linus-ppc/drivers/macintosh/via-pmu.c linuxppc-2.5-benh/drivers/macintosh/via-pmu.c
--- for-linus-ppc/drivers/macintosh/via-pmu.c	2003-09-03 16:10:36.000000000 +0200
+++ linuxppc-2.5-benh/drivers/macintosh/via-pmu.c	2003-09-03 18:25:59.000000000 +0200
@@ -1391,10 +1391,10 @@
 		if (pmu_battery_count)
 			query_battery_state();
 		pmu_pass_intr(data, len);
-	} else
+	} else {
 	       pmu_pass_intr(data, len);
-
 #endif /* CONFIG_PMAC_PBOOK */
+	}
 	goto next;
 }
 



                 reply	other threads:[~2003-09-03 16:30 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=1062606456.1780.38.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /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®