#define _GPIB_TYPES_H
#ifdef __KERNEL__
-/* gpib_interface_t defines the interface
+/* gpib_interface defines the interface
* between the board-specific details dealt with in the drivers
* and generic interface provided by gpib-common.
* This really should be in a different header file.
#include <linux/timer.h>
#include <linux/interrupt.h>
-typedef struct gpib_interface gpib_interface_t;
struct gpib_board;
/* config parameters that are only used by driver attach functions */
/* list so we can make a linked list of drivers */
struct gpib_interface_list {
struct list_head list;
- gpib_interface_t *interface;
+ struct gpib_interface *interface;
struct module *module;
};
*/
struct gpib_board {
/* functions used by this board */
- gpib_interface_t *interface;
+ struct gpib_interface *interface;
/* Pointer to module whose use count we should increment when
* interface is in use
*/