+ cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix
has been added to the -mm tree.  Its filename is
     cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find
out what to do about this

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix
From: Andres Salomon <dilinger@xxxxxxxxxx>

Force GPIO_CS553X to select GPIOLIB, which it makes use of.

akpm: still doesn't work though.  Randy said:

: When PCI is not enabled:
: 
: drivers/gpio/cs553x-gpio.c: In function 'cs553x_gpio_probe':
: drivers/gpio/cs553x-gpio.c:176: error: implicit declaration of function 'pci_enable_device_io'
: drivers/gpio/cs553x-gpio.c:182: error: implicit declaration of function 'pci_request_region'
: drivers/gpio/cs553x-gpio.c:207: error: implicit declaration of function 'pci_release_region'
: 
: I guess that OLPC needs an additional dependency on PCI ??

Signed-off-by: Andres Salomon <dilinger@xxxxxxxxxx>
Cc: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/gpio/Kconfig |    1 +
 1 file changed, 1 insertion(+)

diff -puN drivers/gpio/Kconfig~cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix drivers/gpio/Kconfig
--- a/drivers/gpio/Kconfig~cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix
+++ a/drivers/gpio/Kconfig
@@ -148,6 +148,7 @@ comment "PCI GPIO expanders:"
 config GPIO_CS553X
 	tristate "AMD cs5535/cs5536 GPIO support"
 	depends on PCI && !CS5535_GPIO && !MGEODE_LX
+	select GPIOLIB
 	help
 	  The AMD cs5535 and cs5536 southbridges support 28 GPIO pins that
 	  can be used for quite a number of things.  The cs553x is found on
_

Patches currently in -mm which might be from dilinger@xxxxxxxxxx are

cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support.patch
cs553x-gpio-add-amd-cs5535-cs5536-gpio-driver-support-fix.patch
alsa-cs5535audio-free-olpc-quirks-from-reliance-on-mgeode_lx-cpu-optimization.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux