.request_recv = gb_gpio_request_recv,
};
-gb_gpbridge_protocol_driver(gpio_protocol);
+gb_builtin_protocol_driver(gpio_protocol);
.request_recv = gb_hid_irq_handler,
};
-gb_gpbridge_protocol_driver(hid_protocol);
+gb_builtin_protocol_driver(hid_protocol);
.request_recv = NULL, /* no incoming requests */
};
-gb_gpbridge_protocol_driver(i2c_protocol);
+gb_builtin_protocol_driver(i2c_protocol);
module_exit(protocol_exit)
/* __protocol: string matching name of struct gb_protocol */
-#define gb_gpbridge_protocol_driver(__protocol) \
+#define gb_builtin_protocol_driver(__protocol) \
int __init gb_##__protocol##_init(void) \
{ \
return gb_protocol_register(&__protocol); \
.request_recv = NULL, /* no incoming requests */
};
-gb_gpbridge_protocol_driver(pwm_protocol);
+gb_builtin_protocol_driver(pwm_protocol);
.request_recv = gb_sdio_event_recv,
};
-gb_gpbridge_protocol_driver(sdio_protocol);
+gb_builtin_protocol_driver(sdio_protocol);
.request_recv = NULL,
};
-gb_gpbridge_protocol_driver(spi_protocol);
+gb_builtin_protocol_driver(spi_protocol);
.request_recv = gb_uart_request_recv,
};
-gb_gpbridge_protocol_driver(uart_protocol);
+gb_builtin_protocol_driver(uart_protocol);
.request_recv = NULL, /* FIXME we have requests!!! */
};
-gb_gpbridge_protocol_driver(usb_protocol);
+gb_builtin_protocol_driver(usb_protocol);