summaryrefslogtreecommitdiff
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-01-27 17:14:51 (GMT)
committerJean Delvare <khali@hyperion.delvare>2008-01-27 17:14:51 (GMT)
commit0f07a24b4baf14859fde39b29bcc6fe279d18109 (patch)
tree0ff3b88a1435a37480e9203dcca91482fb1dba3c /Documentation/i2c
parentb7a3670131c7662415fa799700fc0bdfe90a54b6 (diff)
downloadlinux-fsl-qoriq-0f07a24b4baf14859fde39b29bcc6fe279d18109.tar.xz
i2c: Let the user specify PCI driver data through new_id
The i2c-amd756 and i2c-viapro drivers make use of the driver_data field of the PCI device ID. When adding device IDs dynamically (by writing to the new_id sysfs file) you cannot set the value of this field by default. It has to be allowed explicitly. Do that, and check the value so that the user can't crash the kernel accidentally. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/i2c')
0 files changed, 0 insertions, 0 deletions