lkml.org 
[lkml]   [2002]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectKill unused pieces of linux/device.h
Hi!

This kills dead code, please apply,
Pavel

--- linux/include/linux/device.h Mon Feb 11 21:10:52 2002
+++ linux-dm/include/linux/device.h Mon Feb 11 21:57:56 2002
@@ -54,7 +54,6 @@
};

struct device;
-struct iobus;

struct device_driver {
int (*probe) (struct device * dev);
@@ -94,23 +93,6 @@
unsigned char *saved_state; /* saved device state */
};

-/*
- * struct bus_type - descriptor for a type of bus
- * There are some instances when you need to know what type of bus a
- * device is on. Instead of having some sort of enumerated integer type,
- * each struct iobus will have a pointer to a struct bus_type that gives
- * actually meaningful data.
- * There should be one struct bus_type for each type of bus (one for PCI,
- * one for USB, etc).
- */
-struct iobus_driver {
- char name[16]; /* ascii descriptor of type of bus */
- struct list_head node; /* node in global list of bus drivers */
-
- int (*scan) (struct iobus*);
- int (*add_device) (struct iobus*, char*);
-};
-
static inline struct device *
list_to_dev(struct list_head *node)
{
@@ -122,8 +104,6 @@
*/
extern int device_register(struct device * dev);

-extern int iobus_register(struct iobus * iobus);
-
extern int device_create_file(struct device *device, struct driver_file_entry * entry);
extern void device_remove_file(struct device * dev, const char * name);

--
(about SSSCA) "I don't say this lightly. However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.028 / U:5.376 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site