Subject: [PATCH 1/2] serial: Add flush_buffer() operation to uart_ops
[sfrench/cifs-2.6.git] / include / linux / adb.h
index b7305b178279316ab8ecce70dff8f3e848dc27bd..63bca502fa55edf8ffd9df6e7c44f2c4c2f83e3c 100644 (file)
@@ -84,16 +84,15 @@ enum adb_message {
     ADB_MSG_PRE_RESET, /* Called before resetting the bus */
     ADB_MSG_POST_RESET /* Called after resetting the bus (re-do init & register) */
 };
-extern struct adb_driver *adb_controller;
 extern struct blocking_notifier_head adb_client_list;
 
 int adb_request(struct adb_request *req, void (*done)(struct adb_request *),
                int flags, int nbytes, ...);
 int adb_register(int default_id,int handler_id,struct adb_ids *ids,
-                void (*handler)(unsigned char *, int, struct pt_regs *, int));
+                void (*handler)(unsigned char *, int, int));
 int adb_unregister(int index);
 void adb_poll(void);
-void adb_input(unsigned char *, int, struct pt_regs *, int);
+void adb_input(unsigned char *, int, int);
 int adb_reset_bus(void);
 
 int adb_try_handler_change(int address, int new_id);