]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-eg20t: include slab.h for memory allocations
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 23 Feb 2011 10:11:35 +0000 (11:11 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 8 Mar 2011 23:13:30 +0000 (23:13 +0000)
commite0c264692930af8ca6f6c9eabc9c05479eab066a
tree6a9c925ad74e6dff912a1d6297884b4d4c89a448
parent91224390abd8ca44717349861dfc5ee4bedf28f8
i2c-eg20t: include slab.h for memory allocations

Fixes (with v2.6.38-rc3/parisc/parisc-allmodconfig):
  src/drivers/i2c/busses/i2c-eg20t.c:720: error: implicit declaration of function 'kzalloc'
  src/drivers/i2c/busses/i2c-eg20t.c:790: error: implicit declaration of function 'kfree'

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-eg20t.c