From: Christian Krafft Date: Sun, 24 Feb 2008 19:03:42 +0000 (+0100) Subject: i2c-pca-isa: Add access check to legacy ioports X-Git-Tag: v2.6.25-rc3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=104cb574feb3033299568483a3f68031f47e0d43;p=pandora-kernel.git i2c-pca-isa: Add access check to legacy ioports When probing i2c-pca-isa writes to legacy ioports, which crashes the kernel if there is no device at that port. This patch adds a check_legacy_ioport call, so probe fails gracefully and thus prevents the oops. Signed-off-by: Christian Krafft Signed-off-by: Jean Delvare --- Reading git-diff-tree failed