.remove = collie_uart_remove,
};
-static int __init collie_uart_init(void) {
+static int __init collie_uart_init(void)
+{
return locomo_driver_register(&collie_uart_driver);
}
device_initcall(collie_uart_init);
static int collie_flash_init(void)
{
- int rc;
- rc = gpio_request(COLLIE_GPIO_VPEN, "flash Vpp enable");
+ int rc = gpio_request(COLLIE_GPIO_VPEN, "flash Vpp enable");
if (rc)
return rc;
{
gpio_free(COLLIE_GPIO_VPEN);
}
+
static struct flash_platform_data collie_flash_data = {
.map_name = "cfi_probe",
.init = collie_flash_init,