bt-bmc.c (396c84bbfd7906b4bd103741edf352918311c6d0) | bt-bmc.c (cd921b9f0c8d0a198eaeb897fc4124a73b742b4b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (c) 2015-2016, IBM Corporation. 4 */ 5 6#include <linux/atomic.h> 7#include <linux/bt-bmc.h> 8#include <linux/errno.h> --- 458 unchanged lines hidden (view full) --- 467 if (bt_bmc->irq < 0) 468 del_timer_sync(&bt_bmc->poll_timer); 469 return 0; 470} 471 472static const struct of_device_id bt_bmc_match[] = { 473 { .compatible = "aspeed,ast2400-ibt-bmc" }, 474 { .compatible = "aspeed,ast2500-ibt-bmc" }, | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (c) 2015-2016, IBM Corporation. 4 */ 5 6#include <linux/atomic.h> 7#include <linux/bt-bmc.h> 8#include <linux/errno.h> --- 458 unchanged lines hidden (view full) --- 467 if (bt_bmc->irq < 0) 468 del_timer_sync(&bt_bmc->poll_timer); 469 return 0; 470} 471 472static const struct of_device_id bt_bmc_match[] = { 473 { .compatible = "aspeed,ast2400-ibt-bmc" }, 474 { .compatible = "aspeed,ast2500-ibt-bmc" }, |
475 { .compatible = "aspeed,ast2600-ibt-bmc" }, |
|
475 { }, 476}; 477 478static struct platform_driver bt_bmc_driver = { 479 .driver = { 480 .name = DEVICE_NAME, 481 .of_match_table = bt_bmc_match, 482 }, 483 .probe = bt_bmc_probe, 484 .remove = bt_bmc_remove, 485}; 486 487module_platform_driver(bt_bmc_driver); 488 489MODULE_DEVICE_TABLE(of, bt_bmc_match); 490MODULE_LICENSE("GPL"); 491MODULE_AUTHOR("Alistair Popple <alistair@popple.id.au>"); 492MODULE_DESCRIPTION("Linux device interface to the IPMI BT interface"); | 476 { }, 477}; 478 479static struct platform_driver bt_bmc_driver = { 480 .driver = { 481 .name = DEVICE_NAME, 482 .of_match_table = bt_bmc_match, 483 }, 484 .probe = bt_bmc_probe, 485 .remove = bt_bmc_remove, 486}; 487 488module_platform_driver(bt_bmc_driver); 489 490MODULE_DEVICE_TABLE(of, bt_bmc_match); 491MODULE_LICENSE("GPL"); 492MODULE_AUTHOR("Alistair Popple <alistair@popple.id.au>"); 493MODULE_DESCRIPTION("Linux device interface to the IPMI BT interface"); |