Driver core: Constify struct sysfs_ops in struct kobj_type
[linux-2.6-block.git] / drivers / pci / slot.c
index 49c9e6c9779a1e5ef1209cdfc2b45821799d9c06..f75a44d37fbed588ffda8a8742904eca4386b1cf 100644 (file)
@@ -29,7 +29,7 @@ static ssize_t pci_slot_attr_store(struct kobject *kobj,
        return attribute->store ? attribute->store(slot, buf, len) : -EIO;
 }
 
-static struct sysfs_ops pci_slot_sysfs_ops = {
+static const struct sysfs_ops pci_slot_sysfs_ops = {
        .show = pci_slot_attr_show,
        .store = pci_slot_attr_store,
 };