--- zzzz-none-000/linux-3.10.107/drivers/pnp/base.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/pnp/base.h 2021-02-04 17:41:59.000000000 +0000 @@ -3,8 +3,8 @@ * Bjorn Helgaas */ -extern spinlock_t pnp_lock; -extern struct device_attribute pnp_interface_attrs[]; +extern struct mutex pnp_lock; +extern const struct attribute_group *pnp_dev_groups[]; void *pnp_alloc(long size); int pnp_register_protocol(struct pnp_protocol *protocol);