mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-09-21 12:11:49 +08:00
Merge branch 'mtd/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git
This commit is contained in:
commit
83a1d49b2b
@ -163,9 +163,16 @@ static void rpcif_hb_remove(struct platform_device *pdev)
|
||||
pm_runtime_disable(hyperbus->rpc.dev);
|
||||
}
|
||||
|
||||
static const struct platform_device_id rpc_if_hyperflash_id_table[] = {
|
||||
{ .name = "rpc-if-hyperflash" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
MODULE_DEVICE_TABLE(platform, rpc_if_hyperflash_id_table);
|
||||
|
||||
static struct platform_driver rpcif_platform_driver = {
|
||||
.probe = rpcif_hb_probe,
|
||||
.remove_new = rpcif_hb_remove,
|
||||
.id_table = rpc_if_hyperflash_id_table,
|
||||
.driver = {
|
||||
.name = "rpc-if-hyperflash",
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user