Merge /spare/repo/linux-2.6/

This commit is contained in:
Jeff Garzik 2005-09-22 15:43:14 -04:00
commit da192bb50c
26 changed files with 252 additions and 220 deletions

View file

@ -317,6 +317,11 @@ dev_set_drvdata (struct device *dev, void *data)
dev->driver_data = data;
}
static inline int device_is_registered(struct device *dev)
{
return klist_node_attached(&dev->knode_bus);
}
/*
* High level routines for use by the bus drivers
*/