Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e7a43c3 authored by Adrian Bunk's avatar Adrian Bunk Committed by Greg Kroah-Hartman
Browse files

PCI: don't export device IDs to userspace



I don't see any good reason for exporting device IDs to userspace.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9ac0ce85
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -119,7 +119,6 @@ header-y += nfs4_mount.h
header-y += nfs_mount.h
header-y += nfs_mount.h
header-y += oom.h
header-y += oom.h
header-y += param.h
header-y += param.h
header-y += pci_ids.h
header-y += pci_regs.h
header-y += pci_regs.h
header-y += personality.h
header-y += personality.h
header-y += pfkeyv2.h
header-y += pfkeyv2.h
@@ -162,7 +161,6 @@ header-y += vt.h
header-y += wireless.h
header-y += wireless.h
header-y += xattr.h
header-y += xattr.h
header-y += x25.h
header-y += x25.h
header-y += zorro_ids.h


unifdef-y += acct.h
unifdef-y += acct.h
unifdef-y += adb.h
unifdef-y += adb.h
+3 −3
Original line number Original line Diff line number Diff line
@@ -20,9 +20,6 @@
/* Include the pci register defines */
/* Include the pci register defines */
#include <linux/pci_regs.h>
#include <linux/pci_regs.h>


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

/*
/*
 * The PCI interface treats multi-function devices as independent
 * The PCI interface treats multi-function devices as independent
 * devices.  The slot/function address of each device is encoded
 * devices.  The slot/function address of each device is encoded
@@ -54,6 +51,9 @@
#include <asm/atomic.h>
#include <asm/atomic.h>
#include <linux/device.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 */
/* File state for mmap()s on /proc/bus/pci/X/Y */
enum pci_mmap_state {
enum pci_mmap_state {
	pci_mmap_io,
	pci_mmap_io,