[PATCH] PowerMac: Fix build of via-pmu driver with some .config's

From: Benjamin Herrenschmidt (benh_at_kernel.crashing.org)
Date: 09/03/03

  • Next message: Matt Heler: "Re: 2.6.0-test4(-mmX) via-rhine ethernet onboard C3 mini-itx doesn't work"
    To: Linus Torvalds <torvalds@osdl.org>
    Date:	Wed, 03 Sep 2003 18:27:36 +0200
    
    

    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;
     }
     

    -
    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/


  • Next message: Matt Heler: "Re: 2.6.0-test4(-mmX) via-rhine ethernet onboard C3 mini-itx doesn't work"

    Relevant Pages

    • RE: IT8212
      ... Best regards Mile ... into directories where is iteraid driver. ... I can't compile the driver modules. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- ...
      (Fedora)
    • Re[2]: HP DL140 and ata0-slave: FAILURE-ATA_IDENTIFY timed out.
      ... And how stable is this driver? ... Can it be installed on production ... Regards, ... To unsubscribe, ...
      (freebsd-stable)
    • Re: [patch 2.6.0-test2: com20020_cs.c doesnt compile
      ... > The following patch fixes it: ... Thanks, the fix looks correct. ... The driver should prbably move ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • SATA Silicon Image Speed Issue
      ... we have the sil3114 controller and we get 55mb a sec. ... When looking at the logs the driver seems to show that UDMA133 is max ... Regards, ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: 2.6.12-rc5-mm1
      ... Andrew Morton wrote: ... The attached patch fixes this. ... Regards, ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)