Commit f68c56b7 authored by Paul Gortmaker's avatar Paul Gortmaker Committed by Linus Torvalds

firewire: restore the device.h include in linux/firewire.h

Commit 313162d0 ("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 313162d0 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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9a78da11
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#define _LINUX_FIREWIRE_H #define _LINUX_FIREWIRE_H
#include <linux/completion.h> #include <linux/completion.h>
#include <linux/device.h>
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/kref.h> #include <linux/kref.h>
...@@ -64,8 +65,6 @@ ...@@ -64,8 +65,6 @@
#define CSR_MODEL 0x17 #define CSR_MODEL 0x17
#define CSR_DIRECTORY_ID 0x20 #define CSR_DIRECTORY_ID 0x20
struct device;
struct fw_csr_iterator { struct fw_csr_iterator {
const u32 *p; const u32 *p;
const u32 *end; const u32 *end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment