linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Colin Leroy" <colin@colino.net>
To: <valvoline@vrlteam.org>
Cc: <linuxppc-dev@lists.linuxppc.org>
Subject: Re: temp.c and cputable.c issues
Date: Fri, 16 Jan 2004 11:21:00 +0100	[thread overview]
Message-ID: <14de01c3dc1a$70830140$3cc8a8c0@ANOSP> (raw)
In-Reply-To: 20040116070249.GT2658@adapter.n0skillz.org

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

> i gotta it! :)
> for some strange reason i need to modprobe manually the i2c_west,
> first of all...next if i modprobe:


Can you try the attached patch (apply against
drivers/macintosh/therm_adt7467.c).
Then, try to modprobe therm_adt7467 without i2c-core and i2c-keywest
loaded.

Tell me if this works.

Thanks,
--
Colin
Ne disez pas disez, mais disez dites

[-- Attachment #2: therm_adt7467.diff --]
[-- Type: application/octet-stream, Size: 527 bytes --]

--- therm_adt7467.c.orig	2004-01-16 11:10:49.000000000 +0100
+++ therm_adt7467.c	2004-01-16 11:14:38.000000000 +0100
@@ -27,6 +27,7 @@
 #include <asm/system.h>
 #include <asm/sections.h>
 #include <asm/of_device.h>
+#include <linux/kmod.h>
 
 #undef DEBUG
 
@@ -421,6 +422,9 @@
 	device_create_file(&of_dev->dev, &dev_attr_gpu_limit);
 	device_create_file(&of_dev->dev, &dev_attr_fan_speed);
 	
+#ifdef CONFIG_KMOD	
+	request_module("i2c-keywest");
+#endif
 	return i2c_add_driver(&thermostat_driver);
 }
 

  reply	other threads:[~2004-01-16 10:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-14 19:39 temp.c and cputable.c issues valvoline
2004-01-14 22:10 ` Tom Rini
2004-01-14 20:11   ` valvoline
2004-01-14 22:38     ` Tom Rini
2004-01-15  8:19     ` Colin Leroy
2004-01-15  7:03       ` valvoline
2004-01-15  7:16       ` valvoline
2004-01-15  9:32         ` Colin Leroy
2004-01-16  7:02           ` valvoline
2004-01-16 10:21             ` Colin Leroy [this message]
2004-01-16 11:10               ` Geert Uytterhoeven
2004-01-16 11:26                 ` Colin Leroy
2004-01-15  7:20       ` valvoline
  -- strict thread matches above, loose matches on Subject: below --
2004-01-15  9:38 Colin Leroy

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='14de01c3dc1a$70830140$3cc8a8c0@ANOSP' \
    --to=colin@colino.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=valvoline@vrlteam.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;
as well as URLs for NNTP newsgroup(s).