]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/base/bus.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-2.6.18
[karo-tx-linux.git] / drivers / base / bus.c
index 050d86d0b872880c11807e9ece9bfd8f6b793377..2e954d07175a5c6d067531ac23d155c1a24d2d8d 100644 (file)
@@ -8,7 +8,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/device.h>
 #include <linux/module.h>
 #include <linux/errno.h>
@@ -130,7 +129,7 @@ static struct kobj_type ktype_bus = {
 
 };
 
-decl_subsys(bus, &ktype_bus, NULL);
+static decl_subsys(bus, &ktype_bus, NULL);
 
 
 #ifdef CONFIG_HOTPLUG
@@ -599,12 +598,13 @@ void put_bus(struct bus_type * bus)
  *
  *     Note that kset_find_obj increments bus' reference count.
  */
-
+#if 0
 struct bus_type * find_bus(char * name)
 {
        struct kobject * k = kset_find_obj(&bus_subsys.kset, name);
        return k ? to_bus(k) : NULL;
 }
+#endif  /*  0  */
 
 
 /**