Subject: Re: [PATCH] Hwmon for Taco

From: Sean MacLennan <[email-masked]>
Date: Sat, 05 Jan 2008 13:39:17 -0500

Benjamin Herrenschmidt wrote:
>> +module_exit(ad7414_exit);
>> --- /dev/null	2005-11-20 22:22:37.000000000 -0500
>> +++ drivers/hwmon/taco-dtm.c	2008-01-05 00:06:21.000000000 -0500
>> @@ -0,0 +1,78 @@
>> +/*
>> + *  drivers/hwmon/taco-dtm.c
>> + *
>> + *  Overview: On the Taco, the fpga controls the fan. This provides
>> + *  the temperature to the fpga.
>> + *
>> + *  Copyright (c) 2008 PIKA Technologies
>> + *    Sean MacLennan <[email-masked]>
>> + *
>> + *  This program is free software; you can redistribute	 it and/or modify it
>> + *  under  the terms of	 the GNU General  Public License as published by the
>> + *  Free Software Foundation;  either version 2 of the	License, or (at your
>> + *  option) any later version.
>> + *
>> + */
>> +
>> +#include <linux/module.h>
>> +#include <linux/kthread.h>
>> +#include <linux/io.h>
>> +
>> +
>> +#define TACO_FPGA_BASE 0x80000000
>>     
>
> That should be in the device-tree...
>
> Cheers,
> Ben.
>
>
>   
It is in the device tree, I just forgot to update the driver to use it. 
Thanks.

Cheers,
    Sean