X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=drivers%2Fedac%2Fedac_pci_sysfs.c;h=bef94e3d99444eddaa6f6a149a9ba6fe005b073e;hb=52cf25d0ab7f78eeecc59ac652ed5090f69b619e;hp=fb60a877d768197d59cc0f09ce26e2ef6714023c;hpb=6c1733aca0b48db4d0e660d54976a1cca25b5eaf;p=cascardo%2Flinux.git diff --git a/drivers/edac/edac_pci_sysfs.c b/drivers/edac/edac_pci_sysfs.c index fb60a877d768..bef94e3d9944 100644 --- a/drivers/edac/edac_pci_sysfs.c +++ b/drivers/edac/edac_pci_sysfs.c @@ -121,7 +121,7 @@ static ssize_t edac_pci_instance_store(struct kobject *kobj, } /* fs_ops table */ -static struct sysfs_ops pci_instance_ops = { +static const struct sysfs_ops pci_instance_ops = { .show = edac_pci_instance_show, .store = edac_pci_instance_store }; @@ -261,7 +261,7 @@ static ssize_t edac_pci_dev_store(struct kobject *kobj, return -EIO; } -static struct sysfs_ops edac_pci_sysfs_ops = { +static const struct sysfs_ops edac_pci_sysfs_ops = { .show = edac_pci_dev_show, .store = edac_pci_dev_store };