summaryrefslogtreecommitdiffstats
path: root/drivers/lguest
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2008-06-28 20:31:52 +0200
committerGrant Likely <grant.likely@secretlab.ca>2008-07-22 09:13:04 +0200
commit11d579ee0a19052a5a90ebfe0c39e7ed8ce8a9dc (patch)
treed6785e59b3e9c643ce2fac2b67e793ea1ccc8827 /drivers/lguest
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 (diff)
downloadlinux-11d579ee0a19052a5a90ebfe0c39e7ed8ce8a9dc.tar.xz
linux-11d579ee0a19052a5a90ebfe0c39e7ed8ce8a9dc.zip
powerpc/mpc5200: Fix wrong 'no interrupt' handling in of_i2c
If an I2C device node does not specify an interrupt, the .irq member of the board_info struct was set to -1. This caused crashes on following irq_dispose_mappings. Leave it NO_IRQ as returned from irq_of_parse_and_map. (Suggesting -1 as 'i2c-no-irq' used to be a bug in linux/i2c.h.) Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Sean MacLennan <smaclennan@pikatech.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions