/** * of_platform_bus_create() - 为节点及其子节点创建设备. * @bus: device node of the bus to instantiate * @matches: match table for bus nodes * @lookup: auxdata table for matching id and platform_data with device nodes * @parent: parent for new device, or NULL for top level. * @strict: require compatible property * * Creates a platform_device for the provided device_node, and optionally * recursively create devices for all the child nodes. */ staticintof_platform_bus_create(struct device_node *bus, conststruct of_device_id *matches, conststruct of_dev_auxdata *lookup, struct device *parent, bool strict) {