]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
spi.h uses/needs device.h
authorRandy Dunlap <randy.dunlap@oracle.com>
Sun, 4 Jan 2009 20:00:47 +0000 (12:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Jan 2009 21:33:20 +0000 (13:33 -0800)
commit0a30c5cefa53cbac429dcb2de906c0637b646253
treeb0babe6f5e3b320f4f168975d798180d3be7e3c7
parent2e4e27c7d082b2198b63041310609d7191185a9d
spi.h uses/needs device.h

Include header files as used/needed:

  In file included from drivers/leds/leds-dac124s085.c:16:
  include/linux/spi/spi.h:66: error: field 'dev' has incomplete type
  include/linux/spi/spi.h: In function 'to_spi_device':
  include/linux/spi/spi.h:100: warning: type defaults to 'int' in declaration of '__mptr'
  ...

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/spi/spi.h