--- zzzz-none-000/linux-5.15.111/drivers/pci/pci-sysfs.c 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/drivers/pci/pci-sysfs.c 2024-02-07 10:23:15.000000000 +0000 @@ -11,8 +11,10 @@ * * Modeled after usb's driverfs.c */ - - +/* + * Includes Intel Corporation's changes/modifications dated: 2018. + * Changed/modified portions - Copyright (c) 2018, Intel Corporation. + */ #include #include #include @@ -471,7 +473,7 @@ pci_stop_and_remove_bus_device_locked(to_pci_dev(dev)); return count; } -static DEVICE_ATTR_IGNORE_LOCKDEP(remove, 0220, NULL, +static DEVICE_ATTR_IGNORE_LOCKDEP(remove, 0200, NULL, remove_store); static ssize_t bus_rescan_store(struct device *dev,