Re: [PATCH] Hwmon for Taco
From: Sean MacLennan <hidden>
Date: 2008-01-05 18:39:18
Benjamin Herrenschmidt wrote:
quoted
+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 <smaclennan@pikatech.com> + * + * 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 0x80000000That 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