From: Jim Cromie Date: Tue, 27 Jun 2006 09:54:14 +0000 (-0700) Subject: [PATCH] chardev: GPIO for SCx200 & PC-8736x: add platforn_device for use w dev_dbg X-Git-Tag: v2.6.18-rc1~534 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=979b5ec3a7055d35b212f657e80257ec1346aa0e;p=pandora-kernel.git [PATCH] chardev: GPIO for SCx200 & PC-8736x: add platforn_device for use w dev_dbg Add a platform-device to scx200_gpio, and use its struct device dev member (ie: devp) in dev_dbg() once. There are 2 alternatives here (Im soliciting guidance/commentary): - use isa_device, if/when its added to the kernel. - alter scx200.c to EXPORT_GPL its private devp so that both scx200_gpio, and the (to be added) nsc_gpio module can use it. Since the available devp is in 'grandparent', this seems like too much 'action at a distance'. Signed-off-by: Jim Cromie Cc: Greg KH Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed