Driver-Core: fix devnode callbacks for dabusb and industrialio
commit388dba30471c236a290c4082bce5f2b5cd1a7a06
authorIngo Molnar <mingo@elte.hu>
Mon, 21 Sep 2009 06:56:58 +0000 (21 08:56 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 21 Sep 2009 14:36:33 +0000 (21 07:36 -0700)
tree3c71d6cea401158ed2da5bfc40ee22db9eb00e63
parentebc79c4f8da0f92efa968e0328f32334a2ce80cf
Driver-Core: fix devnode callbacks for dabusb and industrialio

The build of the dabusb driver broke:

  drivers/media/video/dabusb.c:758: error: unknown field 'nodename' specified in initializer
  drivers/media/video/dabusb.c:758: warning: initialization from incompatible pointer type
  make[3]: *** wait: No child processes.  Stop.

Due to this commit:

  e454cea: Driver-Core: extend devnode callbacks to provide permissions

Missing the dabusb driver's dabusb_nodename() callback.

Similar issues with the iio/industrialio driver in staging, pointed out
and patched by Jean Delvare.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Industrialio-parts-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/video/dabusb.c
drivers/staging/iio/industrialio-core.c