X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-powerpc%2Fof_device.h;h=3c123990ca2e0f3db95b03c939e62a6e6050df30;hb=df1efe6f871e2d3f83e6ad7b7a1d2b728b478fc2;hp=ec2a8a2c737c81d09b0d9c7fd3f34623669e0169;hpb=dcb76f88683618ed6ef0df66643dba1285881ee5;p=linux-2.6 diff --git a/include/asm-powerpc/of_device.h b/include/asm-powerpc/of_device.h index ec2a8a2c73..3c123990ca 100644 --- a/include/asm-powerpc/of_device.h +++ b/include/asm-powerpc/of_device.h @@ -17,10 +17,12 @@ struct of_device struct device dev; /* Generic device interface */ }; -extern ssize_t of_device_get_modalias(struct of_device *ofdev, - char *str, ssize_t len); +extern struct of_device *of_device_alloc(struct device_node *np, + const char *bus_id, + struct device *parent); + extern int of_device_uevent(struct device *dev, - char **envp, int num_envp, char *buffer, int buffer_size); + struct kobj_uevent_env *env); /* This is just here during the transition */ #include