Go to the documentation of this file.
55 kprintf(
"Error Adding Device: memory failure\n");
63 tmpDev->
next = devices;
89 for (tmpDev = devices; tmpDev; tmpDev = tmpDev->
next) {
113 while (current !=
NULL) {
114 if (current == deviceToDelete)
118 current = current->
next;
121 if (current ==
NULL) {
126 if (current == devices)
127 devices = devices->
next;
int device_remove(struct device_node *deviceToDelete)
struct device_node * next
int device_add(int minor, char type, struct device_interface *devInfo)
void kfree(void *baseAddr)
void spinUnlock(spinLock_t *lock)
struct device_node * prev
#define SPIN_LOCK_INITIALIZER
void spinLock(spinLock_t *lock)
struct device_node * device_find(int major, int minor)
void * kmalloc(uInt32 len)
struct device_interface * devInfo
int kprintf(const char *,...)