libertas/if_spi: needs linux/semaphore.h
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 3 Feb 2010 23:31:07 +0000 (15:31 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 8 Feb 2010 21:50:55 +0000 (16:50 -0500)
commit371ba88322ea5750ad411fdef7674dcee50f7235
treeb1c2238387b53c1c13958ed0d5c8f0c3bed6dd43
parent83e34f03ee9b86b49bde4707a1fe03a1837e29be
libertas/if_spi: needs linux/semaphore.h

libertas/if_spi.c needs to #include linux/semaphore.h to fix build errors:

drivers/net/wireless/libertas/if_spi.c:59: error: field 'spi_ready' has incomplete type
drivers/net/wireless/libertas/if_spi.c:60: error: field 'spi_thread_terminated' has incomplete type
drivers/net/wireless/libertas/if_spi.c:785: error: implicit declaration of function 'down_interruptible'
drivers/net/wireless/libertas/if_spi.c:787: error: implicit declaration of function 'up'
drivers/net/wireless/libertas/if_spi.c:834: error: implicit declaration of function 'down'
drivers/net/wireless/libertas/if_spi.c:943: error: implicit declaration of function 'sema_init'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c