Lines Matching refs:pdev
51 struct platform_device *pdev; in amiga_init_bus() local
58 pdev = platform_device_register_simple("amiga-zorro", -1, in amiga_init_bus()
60 return PTR_ERR_OR_ZERO(pdev); in amiga_init_bus()
136 struct platform_device *pdev; in amiga_init_devices() local
144 pdev = platform_device_register_simple("amiga-video", -1, NULL, in amiga_init_devices()
146 if (IS_ERR(pdev)) in amiga_init_devices()
147 return PTR_ERR(pdev); in amiga_init_devices()
153 pdev = platform_device_register_simple("amiga-audio", -1, NULL, in amiga_init_devices()
155 if (IS_ERR(pdev)) in amiga_init_devices()
156 return PTR_ERR(pdev); in amiga_init_devices()
162 pdev = platform_device_register_simple("amiga-floppy", -1, in amiga_init_devices()
164 if (IS_ERR(pdev)) in amiga_init_devices()
165 return PTR_ERR(pdev); in amiga_init_devices()
169 pdev = platform_device_register_simple("amiga-a3000-scsi", -1, in amiga_init_devices()
171 if (IS_ERR(pdev)) in amiga_init_devices()
172 return PTR_ERR(pdev); in amiga_init_devices()
176 pdev = platform_device_register_simple("amiga-a4000t-scsi", -1, in amiga_init_devices()
179 if (IS_ERR(pdev)) in amiga_init_devices()
180 return PTR_ERR(pdev); in amiga_init_devices()
185 pdev = platform_device_register_simple("amiga-gayle-ide", -1, in amiga_init_devices()
187 if (IS_ERR(pdev)) in amiga_init_devices()
188 return PTR_ERR(pdev); in amiga_init_devices()
189 error = platform_device_add_data(pdev, &a1200_ide_pdata, in amiga_init_devices()
196 pdev = platform_device_register_simple("amiga-gayle-ide", -1, in amiga_init_devices()
198 if (IS_ERR(pdev)) in amiga_init_devices()
199 return PTR_ERR(pdev); in amiga_init_devices()
200 error = platform_device_add_data(pdev, &a4000_ide_pdata, in amiga_init_devices()
209 pdev = platform_device_register_simple("amiga-keyboard", -1, in amiga_init_devices()
211 if (IS_ERR(pdev)) in amiga_init_devices()
212 return PTR_ERR(pdev); in amiga_init_devices()
216 pdev = platform_device_register_simple("amiga-mouse", -1, NULL, in amiga_init_devices()
218 if (IS_ERR(pdev)) in amiga_init_devices()
219 return PTR_ERR(pdev); in amiga_init_devices()
223 pdev = platform_device_register_simple("amiga-serial", -1, in amiga_init_devices()
225 if (IS_ERR(pdev)) in amiga_init_devices()
226 return PTR_ERR(pdev); in amiga_init_devices()
230 pdev = platform_device_register_simple("amiga-parallel", -1, in amiga_init_devices()
232 if (IS_ERR(pdev)) in amiga_init_devices()
233 return PTR_ERR(pdev); in amiga_init_devices()
239 pdev = platform_device_register_simple("rtc-msm6242", -1, in amiga_init_devices()
241 if (IS_ERR(pdev)) in amiga_init_devices()
242 return PTR_ERR(pdev); in amiga_init_devices()
246 pdev = platform_device_register_simple("rtc-rp5c01", -1, in amiga_init_devices()
248 if (IS_ERR(pdev)) in amiga_init_devices()
249 return PTR_ERR(pdev); in amiga_init_devices()