/shark/trunk/drivers/linuxc26/kobject.c |
---|
413,7 → 413,6 |
struct kobject * ret = kobj; |
if (kobj) { |
WARN_ON(!atomic_read(&kobj->refcount)); |
atomic_inc(&kobj->refcount); |
} else |
ret = NULL; |
/shark/trunk/drivers/linuxc26/include/linux/pci.h |
---|
1,5 → 1,5 |
/* |
* $Id: pci.h,v 1.2 2004-01-29 09:25:25 giacomo Exp $ |
* $Id: pci.h,v 1.3 2004-02-20 11:35:57 giacomo Exp $ |
* |
* PCI defines and function prototypes |
* Copyright 1994, Drew Eckhardt |
799,7 → 799,7 |
static inline int pci_domain_nr(struct pci_bus *bus) { return 0; } |
static inline int pci_name_bus(char *name, struct pci_bus *bus) |
{ |
sprintf(name, "%02x", bus->number); |
sprintf26(name, "%02x", bus->number); |
return 0; |
} |
#endif |
/shark/trunk/drivers/linuxc26/core.c |
---|
85,7 → 85,6 |
printk(KERN_ERR "Device '%s' does not have a release() function, " |
"it is broken and must be fixed.\n", |
dev->bus_id); |
WARN_ON(1); |
} |
//if (c) |
// complete(c); |