]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/video/em28xx/em28xx-cards.c
V4L/DVB (13233): i2c_board_info can be local
authorJean Delvare <khali@linux-fr.org>
Fri, 2 Oct 2009 08:47:08 +0000 (05:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:01 +0000 (18:41 -0200)
commit43e16ea241cab1f4d4206307b2f6eacbaf4dc335
treea070ba504f71ebda82277123b613789a1c7477e7
parent3c3099d5edd719aebfccf63b628b6f11afa59bfe
V4L/DVB (13233): i2c_board_info can be local

Recent fixes to the em28xx and saa7134 drivers have been overzealous.
While the ir-kbd-i2c platform data indeed needs to be persistent, the
struct i2c_board_info doesn't, as it is only used by i2c_new_device().

So revert a part of the original fixes, to save some memory.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx.h
drivers/media/video/saa7134/saa7134-input.c
drivers/media/video/saa7134/saa7134.h