Skip to content

Commit

Permalink
ipack: move header files to include/linux
Browse files Browse the repository at this point in the history
Move ipack header files to include/linux/ directory where they belong.

Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
samuelig authored and gregkh committed Nov 16, 2012
1 parent 14dc124 commit 7dbce02
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions drivers/ipack/carriers/tpci200.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
#include <linux/spinlock.h>
#include <linux/swab.h>
#include <linux/io.h>

#include "../ipack.h"
#include <linux/ipack.h>

#define TPCI200_NB_SLOT 0x4
#define TPCI200_NB_BAR 0x6
Expand Down
3 changes: 2 additions & 1 deletion drivers/ipack/devices/ipoctal.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
#include <linux/slab.h>
#include <linux/atomic.h>
#include <linux/io.h>
#include "../ipack.h"
#include <linux/ipack.h>
#include "../ipack_ids.h"
#include "ipoctal.h"
#include "scc2698.h"

Expand Down
3 changes: 2 additions & 1 deletion drivers/ipack/ipack.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
#include <linux/slab.h>
#include <linux/idr.h>
#include <linux/io.h>
#include "ipack.h"
#include <linux/ipack.h>
#include "ipack_ids.h"

#define to_ipack_dev(device) container_of(device, struct ipack_device, dev)
#define to_ipack_driver(drv) container_of(drv, struct ipack_driver, driver)
Expand Down
2 changes: 0 additions & 2 deletions drivers/ipack/ipack.h → include/linux/ipack.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include <linux/device.h>
#include <linux/interrupt.h>

#include "ipack_ids.h"

#define IPACK_IDPROM_OFFSET_I 0x01
#define IPACK_IDPROM_OFFSET_P 0x03
#define IPACK_IDPROM_OFFSET_A 0x05
Expand Down

0 comments on commit 7dbce02

Please sign in to comment.