/* * netsniff-ng - the packet sniffing beast * Copyright 2014 Tobias Klauser. * Subject to the GPL, version 2. */ #ifndef DISSECTOR_NETLINK_H #define DISSECTOR_NETLINK_H #include "protos.h" extern void dissector_init_netlink(int fnttype); extern void dissector_cleanup_netlink(void); static inline struct protocol *dissector_get_netlink_entry_point(void) { return &nlmsg_ops; } static inline struct protocol *dissector_get_netlink_exit_point(void) { return &none_ops; } #endif /* DISSECTOR_NETLINK_H */ l='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
summaryrefslogtreecommitdiff
path: root/Documentation/i2c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-11-23 13:37:11 -0300
committerMark Brown <broonie@kernel.org>2016-11-23 16:42:46 +0000
commitd7a32394e734a004126b454cf747befb626b93ac (patch)
tree54571e84e99bad55d9a19f0051114692447384d1 /Documentation/i2c
parent1001354ca34179f3db924eb66672442a173147dc (diff)
spi: ath79: Fix module autoload for OF registration
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo drivers/spi/spi-ath79.ko | grep alias alias: platform:ath79-spi After this patch: $ modinfo drivers/spi/spi-ath79.ko | grep alias alias: platform:ath79-spi alias: of:N*T*Cqca,ar7100-spiC* alias: of:N*T*Cqca,ar7100-spi Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/i2c')