mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
ide: fix a typo in the settings proc file name
commitf8ff6c732dupstream. Fixes:ec7d9c9ce8("ide: replace ->proc_fops with ->proc_show") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
25ad17d692
commit
d4a6ac28d4
@@ -544,7 +544,7 @@ void ide_proc_port_register_devices(ide_hwif_t *hwif)
|
||||
drive->proc = proc_mkdir(drive->name, parent);
|
||||
if (drive->proc) {
|
||||
ide_add_proc_entries(drive->proc, generic_drive_entries, drive);
|
||||
proc_create_data("setting", S_IFREG|S_IRUSR|S_IWUSR,
|
||||
proc_create_data("settings", S_IFREG|S_IRUSR|S_IWUSR,
|
||||
drive->proc, &ide_settings_proc_fops,
|
||||
drive);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user