|
@@ -118,7 +118,7 @@ struct platform_device *of_device_alloc(struct device_node *np,
|
|
|
int rc, i, num_reg = 0, num_irq;
|
|
|
struct resource *res, temp_res;
|
|
|
|
|
|
- dev = platform_device_alloc("", -1);
|
|
|
+ dev = platform_device_alloc("", PLATFORM_DEVID_NONE);
|
|
|
if (!dev)
|
|
|
return NULL;
|
|
|
|