aboutsummaryrefslogtreecommitdiff
path: root/fs/fuse/Makefile
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2008-10-14 17:30:05 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-10-14 17:30:05 +0200
commit1d0b19c9a0612c653d1a0df267ba159089f6d139 (patch)
tree406b09500a13eaf91f2f8a925e76db40f450a712 /fs/fuse/Makefile
parent7c15fd1249658e203b2ac8661e48da6c2102e563 (diff)
i2c: Guard against oopses from bad init sequences
Guard I2C against oopsing because of init sequence problems, by verifying that i2c_init() has been called before calling any routines that rely on that initialization. This specific test just requires that bus_register(&i2c_bus_type) was called. Examples of this kind of oopsing come from subystems and drivers which register I2C drivers in their subsys_initcall code but which are statically linked before I2C by drivers/Makefile. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'fs/fuse/Makefile')
0 files changed, 0 insertions, 0 deletions