]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/sbus/char/bbc_envctrl.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
[karo-tx-linux.git] / drivers / sbus / char / bbc_envctrl.c
index 103fdf6b0b89650cc207f3d24f8b5ceb116cc709..160e7510aca694913e407e03dd2bb1408c6cf0b7 100644 (file)
@@ -443,7 +443,7 @@ static int kenvctrld(void *__unused)
        return 0;
 }
 
-static void attach_one_temp(struct bbc_i2c_bus *bp, struct of_device *op,
+static void attach_one_temp(struct bbc_i2c_bus *bp, struct platform_device *op,
                            int temp_idx)
 {
        struct bbc_cpu_temperature *tp;
@@ -488,7 +488,7 @@ static void attach_one_temp(struct bbc_i2c_bus *bp, struct of_device *op,
        tp->fan_todo[FAN_CPU] = FAN_SAME;
 }
 
-static void attach_one_fan(struct bbc_i2c_bus *bp, struct of_device *op,
+static void attach_one_fan(struct bbc_i2c_bus *bp, struct platform_device *op,
                           int fan_idx)
 {
        struct bbc_fan_control *fp;
@@ -559,7 +559,7 @@ static void destroy_all_fans(struct bbc_i2c_bus *bp)
 
 int bbc_envctrl_init(struct bbc_i2c_bus *bp)
 {
-       struct of_device *op;
+       struct platform_device *op;
        int temp_index = 0;
        int fan_index = 0;
        int devidx = 0;