commit | 3bbb835d4c53faf0bca62f0e39835926bef40b1f | [log] [tgz] |
---|---|---|
author | David Brownell <david-b@pacbell.net> | Sat Oct 13 23:56:29 2007 +0200 |
committer | Jean Delvare <khali@hyperion.delvare> | Sat Oct 13 23:56:29 2007 +0200 |
tree | 116a84eeb50d0406e18f4d733a1ba05d67f8fe86 | |
parent | cee37ae4071740cb190d1ac4ddb7aa77484aa7b3 [diff] |
i2c: New-style devices can support driver model wakeup flags We need to be able to flag I2C devices, such as RTCs, which can issue wake events (usually through IRQ lines). This adds an i2c_board_info.flags bit, and uses it to initialize the i2c device node. (And shrinks a few lines that were overly long.) Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>