Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rar_register: depends on PCI

rar_register driver uses PCI interfaces and PCI devices, so it
should depend on PCI.

Also format the Kconfig help text as normally done.

drivers/staging/rar_register/rar_register.c:623: error: implicit declaration of function 'pci_dev_get'
drivers/staging/rar_register/rar_register.c:623: warning: assignment makes pointer from integer without a cast

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Randy Dunlap and committed by
Greg Kroah-Hartman
04314268 e012b4c4

+14 -14
+14 -14
drivers/staging/rar_register/Kconfig
··· 8 8 # 9 9 config RAR_REGISTER 10 10 tristate "Restricted Access Region Register Driver" 11 + depends on PCI 11 12 default n 12 13 ---help--- 13 - This driver allows other kernel drivers access to the 14 - contents of the restricted access region control 15 - registers. 14 + This driver allows other kernel drivers access to the 15 + contents of the restricted access region control registers. 16 16 17 - The restricted access region control registers 18 - (rar_registers) are used to pass address and 19 - locking information on restricted access regions 20 - to other drivers that use restricted access regions 17 + The restricted access region control registers 18 + (rar_registers) are used to pass address and 19 + locking information on restricted access regions 20 + to other drivers that use restricted access regions. 21 21 22 - The restricted access regions are regions of memory 23 - on the Intel MID Platform that are not accessible to 24 - the x86 processor, but are accessible to dedicated 25 - processors on board peripheral devices. 22 + The restricted access regions are regions of memory 23 + on the Intel MID Platform that are not accessible to 24 + the x86 processor, but are accessible to dedicated 25 + processors on board peripheral devices. 26 26 27 - The purpose of the restricted access regions is to 28 - protect sensitive data from compromise by unauthorized 29 - programs running on the x86 processor. 27 + The purpose of the restricted access regions is to 28 + protect sensitive data from compromise by unauthorized 29 + programs running on the x86 processor. 30 30 endmenu