X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fof_device.h;h=6526e139a4636783959ee2820c078881c57b33c8;hb=a926c063738f31c8c8b5c2b883812a40e7868072;hp=93262f2546adc2d511925dce83290e870e35887d;hpb=f563d53c30f3e60cde3a194cc1a87284ee0b3366;p=firefly-linux-kernel-4.4.55.git diff --git a/include/asm-powerpc/of_device.h b/include/asm-powerpc/of_device.h index 93262f2546ad..6526e139a463 100644 --- a/include/asm-powerpc/of_device.h +++ b/include/asm-powerpc/of_device.h @@ -17,6 +17,10 @@ struct of_device struct device dev; /* Generic device interface */ }; +extern struct of_device *of_device_alloc(struct device_node *np, + const char *bus_id, + struct device *parent); + extern ssize_t of_device_get_modalias(struct of_device *ofdev, char *str, ssize_t len); extern int of_device_uevent(struct device *dev,