of/device: Replace struct of_device with struct platform_device
[deliverable/linux.git] / drivers / net / fs_enet / mac-fcc.c
index 48e91b6242ce99b8382aeb4d55ec17c3af682cc7..7a84e45487e83ba184dcccf4def37529c4607ba9 100644 (file)
@@ -84,7 +84,7 @@ static inline int fcc_cr_cmd(struct fs_enet_private *fep, u32 op)
 
 static int do_pd_setup(struct fs_enet_private *fep)
 {
-       struct of_device *ofdev = to_of_device(fep->dev);
+       struct platform_device *ofdev = to_platform_device(fep->dev);
        struct fs_platform_info *fpi = fep->fpi;
        int ret = -EINVAL;
 
This page took 0.025608 seconds and 5 git commands to generate.