[Intel-gfx] [PATCH] sysfs: Disable lockdep for driver bind/unbind files
Daniel Vetter
daniel at ffwll.ch
Wed Dec 19 13:18:25 UTC 2018
On Wed, Dec 19, 2018 at 01:49:30PM +0100, Greg Kroah-Hartman wrote:
> On Wed, Dec 19, 2018 at 01:39:09PM +0100, Daniel Vetter wrote:
> > --- a/include/linux/device.h
> > +++ b/include/linux/device.h
> > @@ -327,6 +327,7 @@ struct driver_attribute {
> > #define DRIVER_ATTR_WO(_name) \
> > struct driver_attribute driver_attr_##_name = __ATTR_WO(_name)
> >
> > +
> > extern int __must_check driver_create_file(struct device_driver *driver,
> > const struct driver_attribute *attr);
> > extern void driver_remove_file(struct device_driver *driver,
> > --
>
> I'll edit away this last chunk when I apply the patch :)
Oops sry. I also forgot to do the s/Locking/Looking/ in the commit message
:-/
>
> thanks for making the changes.
>
> greg k-h
Thanks, Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list