]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: New-style devices can support driver model wakeup flags
authorDavid Brownell <david-b@pacbell.net>
Sat, 13 Oct 2007 21:56:29 +0000 (23:56 +0200)
committerJean Delvare <khali@hyperion.delvare>
Sat, 13 Oct 2007 21:56:29 +0000 (23:56 +0200)
commit48f63386106795323e4b430921db52e99a79fde2
tree116a84eeb50d0406e18f4d733a1ba05d67f8fe86
parent3474ee9ee0eb5c52b026717f568671ae52432a82
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>
drivers/i2c/i2c-core.c
include/linux/i2c.h