提交 2b50c81f 编写于 作者: C Christophe JAILLET 提交者: Ulf Hansson

memstick: r592: Change the name of the 'pci_driver' structure to be consistent

This driver is all about r592.

Axe the reference to r852 in the 'pci_driver' structure name. This is
likely a copy/paste typo left as is when the driver has been created.
Signed-off-by: NChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/258f76acc73d5c448b9cb5dab4c39d80d517c7a9.1629580585.git.christophe.jaillet@wanadoo.frSigned-off-by: NUlf Hansson <ulf.hansson@linaro.org>
上级 09cedbd8
...@@ -877,7 +877,7 @@ static SIMPLE_DEV_PM_OPS(r592_pm_ops, r592_suspend, r592_resume); ...@@ -877,7 +877,7 @@ static SIMPLE_DEV_PM_OPS(r592_pm_ops, r592_suspend, r592_resume);
MODULE_DEVICE_TABLE(pci, r592_pci_id_tbl); MODULE_DEVICE_TABLE(pci, r592_pci_id_tbl);
static struct pci_driver r852_pci_driver = { static struct pci_driver r592_pci_driver = {
.name = DRV_NAME, .name = DRV_NAME,
.id_table = r592_pci_id_tbl, .id_table = r592_pci_id_tbl,
.probe = r592_probe, .probe = r592_probe,
...@@ -885,7 +885,7 @@ static struct pci_driver r852_pci_driver = { ...@@ -885,7 +885,7 @@ static struct pci_driver r852_pci_driver = {
.driver.pm = &r592_pm_ops, .driver.pm = &r592_pm_ops,
}; };
module_pci_driver(r852_pci_driver); module_pci_driver(r592_pci_driver);
module_param_named(enable_dma, r592_enable_dma, bool, S_IRUGO); module_param_named(enable_dma, r592_enable_dma, bool, S_IRUGO);
MODULE_PARM_DESC(enable_dma, "Enable usage of the DMA (default)"); MODULE_PARM_DESC(enable_dma, "Enable usage of the DMA (default)");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册