Subject: [PATCH 09/11] firewire: restore the device.h include in linux/firewire.h

From: Paul Gortmaker <[email-masked]>
Date: Sun, 1 Apr 2012 16:38:45 -0400

Commit 313162d0b83836e2f57e51b9b8650fb4b9c396ea

    "device.h: audit and cleanup users in main include dir"

exchanged an include <linux/device.h> for a struct *device
but in actuality I misread this file when creating 313162d
and it should have remained an include.

There were no build regressions since all consumers were
already getting device.h anyway, but make it right regardless.

Reported-by: Stefan Richter <[email-masked]>
Signed-off-by: Paul Gortmaker <[email-masked]>
---
 include/linux/firewire.h |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/linux/firewire.h b/include/linux/firewire.h
index 4db7b68..cdc9b71 100644
--- a/include/linux/firewire.h
+++ b/include/linux/firewire.h
@@ -2,6 +2,7 @@
 #define _LINUX_FIREWIRE_H
 
 #include <linux/completion.h>
+#include <linux/device.h>
 #include <linux/dma-mapping.h>
 #include <linux/kernel.h>
 #include <linux/kref.h>
@@ -64,8 +65,6 @@
 #define CSR_MODEL		0x17
 #define CSR_DIRECTORY_ID	0x20
 
-struct device;
-
 struct fw_csr_iterator {
 	const u32 *p;
 	const u32 *end;
-- 
1.7.9.1