Remove <linux/i2c-id.h> and <linux/i2c-algo-ite.h> from userspace export
Do not export the following i2c header files to user space: * i2c-id.h: These IDs are internal to the kernel and user space does not need them. * i2c-algo-ite.h: The driver is broken and planned for removal, so let's not export it for now. The extra ioctl defined here can be standardized and moved to i2c-core/i2c-dev if really needed. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
Родитель
4d1a099828
Коммит
1bca9f2e5b
|
@ -12,7 +12,7 @@ header-y += affs_fs.h affs_hardblocks.h aio_abi.h a.out.h arcfb.h \
|
|||
dqblk_v2.h dqblk_xfs.h efs_fs_sb.h elf-fdpic.h elf.h elf-em.h \
|
||||
fadvise.h fd.h fdreg.h ftape-header-segment.h ftape-vendors.h \
|
||||
fuse.h futex.h genetlink.h gen_stats.h gigaset_dev.h hdsmart.h \
|
||||
hpfs_fs.h hysdn_if.h i2c-dev.h i2c-id.h i8k.h icmp.h \
|
||||
hpfs_fs.h hysdn_if.h i2c-dev.h i8k.h icmp.h \
|
||||
if_arcnet.h if_arp.h if_bonding.h if_cablemodem.h if_fc.h \
|
||||
if_fddi.h if.h if_hippi.h if_infiniband.h if_packet.h \
|
||||
if_plip.h if_ppp.h if_slip.h if_strip.h if_tunnel.h in6.h \
|
||||
|
@ -38,7 +38,7 @@ unifdef-y += acct.h adb.h adfs_fs.h agpgart.h apm_bios.h atalk.h \
|
|||
ethtool.h eventpoll.h ext2_fs.h ext3_fs.h fb.h fcntl.h \
|
||||
filter.h flat.h fs.h ftape.h gameport.h generic_serial.h \
|
||||
genhd.h hayesesp.h hdlcdrv.h hdlc.h hdreg.h hiddev.h hpet.h \
|
||||
i2c-algo-ite.h i2c.h i2o-dev.h icmpv6.h if_bridge.h if_ec.h \
|
||||
i2c.h i2o-dev.h icmpv6.h if_bridge.h if_ec.h \
|
||||
if_eql.h if_ether.h if_frad.h if_ltalk.h if_pppox.h \
|
||||
if_shaper.h if_tr.h if_tun.h if_vlan.h if_wanpipe.h igmp.h \
|
||||
inet_diag.h in.h inotify.h input.h ipc.h ipmi.h ipv6.h \
|
||||
|
|
Загрузка…
Ссылка в новой задаче