static struct spi_driver mcp251x_driver = { .driver = { .name = DRIVER_NAME, .bus = &spi_bus_type, .owner = THIS_MODULE, }, .probe = mcp251x_probe, .remove = __devexit_p(mcp251x_remove), #ifdef CONFIG_PM .suspend = mcp251x_suspend, .resume = mcp251x_resume, #endif };
Linux下MCP2515驱动解析
内容版权声明:除非注明,否则皆为本站原创文章。