Skip to content

Commit

Permalink
PCI: don't export device IDs to userspace
Browse files Browse the repository at this point in the history
I don't see any good reason for exporting device IDs to userspace.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Adrian Bunk authored and Greg Kroah-Hartman committed Dec 20, 2006
1 parent 9ac0ce8 commit 7e7a43c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions include/linux/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ header-y += nfs4_mount.h
header-y += nfs_mount.h
header-y += oom.h
header-y += param.h
header-y += pci_ids.h
header-y += pci_regs.h
header-y += personality.h
header-y += pfkeyv2.h
Expand Down Expand Up @@ -162,7 +161,6 @@ header-y += vt.h
header-y += wireless.h
header-y += xattr.h
header-y += x25.h
header-y += zorro_ids.h

unifdef-y += acct.h
unifdef-y += adb.h
Expand Down
6 changes: 3 additions & 3 deletions include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
/* Include the pci register defines */
#include <linux/pci_regs.h>

/* Include the ID list */
#include <linux/pci_ids.h>

/*
* The PCI interface treats multi-function devices as independent
* devices. The slot/function address of each device is encoded
Expand Down Expand Up @@ -54,6 +51,9 @@
#include <asm/atomic.h>
#include <linux/device.h>

/* Include the ID list */
#include <linux/pci_ids.h>

/* File state for mmap()s on /proc/bus/pci/X/Y */
enum pci_mmap_state {
pci_mmap_io,
Expand Down

0 comments on commit 7e7a43c

Please sign in to comment.