+ if (ret)
+ return ret;
+
+ if (board != NULL) {
+ if (board->devices != NULL) {
+ ret = platform_add_devices(board->devices,
+ board->devices_count);
+
+ if (ret) {
+ printk(KERN_ERR "s3c2410: failed to add board devices (%d)\n", ret);
+ }
+ }
+
+ /* not adding board devices may not be fatal */
+ ret = 0;
+ }