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

Commit 04314268 authored by Randy Dunlap's avatar Randy Dunlap Committed by Greg Kroah-Hartman
Browse files

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: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e012b4c4
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
@@ -8,16 +8,16 @@ menu "RAR Register Driver"
#
config RAR_REGISTER
	tristate "Restricted Access Region Register Driver"
	depends on PCI
	default n
	---help---
	  This driver allows other kernel drivers access to the
		contents of the restricted access region control
		registers.
	  contents of the restricted access region control registers.

	  The restricted access region control registers
	  (rar_registers) are used to pass address and
	  locking information on restricted access regions
		to other drivers that use restricted access regions
	  to other drivers that use restricted access regions.

	  The restricted access regions are regions of memory
	  on the Intel MID Platform that are not accessible to