diff options
author | Maciej W. Rozycki <macro@orcam.me.uk> | 2021-03-21 20:55:27 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-06 17:27:30 +0200 |
commit | 6ddcec9547f64f01186e76e29d67e193b52ac30f (patch) | |
tree | 8118cadec72215fb026e61640a091cf944699b04 /drivers/ata/pata_platform.c | |
parent | pata_legacy: Properly document module parameters (diff) | |
download | linux-6ddcec9547f64f01186e76e29d67e193b52ac30f.tar.xz linux-6ddcec9547f64f01186e76e29d67e193b52ac30f.zip |
pata_platform: Document `pio_mask' module parameter
Add MODULE_PARM_DESC documentation and a kernel-parameters.txt entry.
Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/alpine.DEB.2.21.2103212023190.21463@angie.orcam.me.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/pata_platform.c')
-rw-r--r-- | drivers/ata/pata_platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index 5aba691f09af..028329428b75 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_platform.c @@ -24,6 +24,8 @@ #define DRV_VERSION "1.2" static int pio_mask = 1; +module_param(pio_mask, int, 0); +MODULE_PARM_DESC(pio_mask, "PIO modes supported, mode 0 only by default"); /* * Provide our own set_mode() as we don't want to change anything that has @@ -233,8 +235,6 @@ static struct platform_driver pata_platform_driver = { module_platform_driver(pata_platform_driver); -module_param(pio_mask, int, 0); - MODULE_AUTHOR("Paul Mundt"); MODULE_DESCRIPTION("low-level driver for platform device ATA"); MODULE_LICENSE("GPL"); |