diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/acpi_drivers.h | 8 | ||||
| -rw-r--r-- | include/linux/if_vlan.h | 2 | ||||
| -rw-r--r-- | include/linux/netdevice.h | 1 | ||||
| -rw-r--r-- | include/linux/skbuff.h | 1 | ||||
| -rw-r--r-- | include/uapi/linux/Kbuild | 1 |
5 files changed, 10 insertions, 3 deletions
diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h index e6168a24b9f0..b420939f5eb5 100644 --- a/include/acpi/acpi_drivers.h +++ b/include/acpi/acpi_drivers.h | |||
| @@ -123,7 +123,9 @@ extern int register_dock_notifier(struct notifier_block *nb); | |||
| 123 | extern void unregister_dock_notifier(struct notifier_block *nb); | 123 | extern void unregister_dock_notifier(struct notifier_block *nb); |
| 124 | extern int register_hotplug_dock_device(acpi_handle handle, | 124 | extern int register_hotplug_dock_device(acpi_handle handle, |
| 125 | const struct acpi_dock_ops *ops, | 125 | const struct acpi_dock_ops *ops, |
| 126 | void *context); | 126 | void *context, |
| 127 | void (*init)(void *), | ||
| 128 | void (*release)(void *)); | ||
| 127 | extern void unregister_hotplug_dock_device(acpi_handle handle); | 129 | extern void unregister_hotplug_dock_device(acpi_handle handle); |
| 128 | #else | 130 | #else |
| 129 | static inline int is_dock_device(acpi_handle handle) | 131 | static inline int is_dock_device(acpi_handle handle) |
| @@ -139,7 +141,9 @@ static inline void unregister_dock_notifier(struct notifier_block *nb) | |||
| 139 | } | 141 | } |
| 140 | static inline int register_hotplug_dock_device(acpi_handle handle, | 142 | static inline int register_hotplug_dock_device(acpi_handle handle, |
| 141 | const struct acpi_dock_ops *ops, | 143 | const struct acpi_dock_ops *ops, |
| 142 | void *context) | 144 | void *context, |
| 145 | void (*init)(void *), | ||
| 146 | void (*release)(void *)) | ||
| 143 | { | 147 | { |
| 144 | return -ENODEV; | 148 | return -ENODEV; |
| 145 | } | 149 | } |
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 52bd03b38962..637fa71de0c7 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h | |||
| @@ -44,7 +44,7 @@ struct vlan_hdr { | |||
| 44 | * struct vlan_ethhdr - vlan ethernet header (ethhdr + vlan_hdr) | 44 | * struct vlan_ethhdr - vlan ethernet header (ethhdr + vlan_hdr) |
| 45 | * @h_dest: destination ethernet address | 45 | * @h_dest: destination ethernet address |
| 46 | * @h_source: source ethernet address | 46 | * @h_source: source ethernet address |
| 47 | * @h_vlan_proto: ethernet protocol (always 0x8100) | 47 | * @h_vlan_proto: ethernet protocol |
| 48 | * @h_vlan_TCI: priority and VLAN ID | 48 | * @h_vlan_TCI: priority and VLAN ID |
| 49 | * @h_vlan_encapsulated_proto: packet type ID or len | 49 | * @h_vlan_encapsulated_proto: packet type ID or len |
| 50 | */ | 50 | */ |
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 60584b185a0c..96e4c21e15e0 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -1695,6 +1695,7 @@ extern int init_dummy_netdev(struct net_device *dev); | |||
| 1695 | extern struct net_device *dev_get_by_index(struct net *net, int ifindex); | 1695 | extern struct net_device *dev_get_by_index(struct net *net, int ifindex); |
| 1696 | extern struct net_device *__dev_get_by_index(struct net *net, int ifindex); | 1696 | extern struct net_device *__dev_get_by_index(struct net *net, int ifindex); |
| 1697 | extern struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex); | 1697 | extern struct net_device *dev_get_by_index_rcu(struct net *net, int ifindex); |
| 1698 | extern int netdev_get_name(struct net *net, char *name, int ifindex); | ||
| 1698 | extern int dev_restart(struct net_device *dev); | 1699 | extern int dev_restart(struct net_device *dev); |
| 1699 | #ifdef CONFIG_NETPOLL_TRAP | 1700 | #ifdef CONFIG_NETPOLL_TRAP |
| 1700 | extern int netpoll_trap(void); | 1701 | extern int netpoll_trap(void); |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 9c676eae3968..dec1748cd002 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -627,6 +627,7 @@ static inline struct rtable *skb_rtable(const struct sk_buff *skb) | |||
| 627 | } | 627 | } |
| 628 | 628 | ||
| 629 | extern void kfree_skb(struct sk_buff *skb); | 629 | extern void kfree_skb(struct sk_buff *skb); |
| 630 | extern void kfree_skb_list(struct sk_buff *segs); | ||
| 630 | extern void skb_tx_error(struct sk_buff *skb); | 631 | extern void skb_tx_error(struct sk_buff *skb); |
| 631 | extern void consume_skb(struct sk_buff *skb); | 632 | extern void consume_skb(struct sk_buff *skb); |
| 632 | extern void __kfree_skb(struct sk_buff *skb); | 633 | extern void __kfree_skb(struct sk_buff *skb); |
diff --git a/include/uapi/linux/Kbuild b/include/uapi/linux/Kbuild index ab5d4992e568..bdc6e87ff3eb 100644 --- a/include/uapi/linux/Kbuild +++ b/include/uapi/linux/Kbuild | |||
| @@ -261,6 +261,7 @@ header-y += net_dropmon.h | |||
| 261 | header-y += net_tstamp.h | 261 | header-y += net_tstamp.h |
| 262 | header-y += netconf.h | 262 | header-y += netconf.h |
| 263 | header-y += netdevice.h | 263 | header-y += netdevice.h |
| 264 | header-y += netlink_diag.h | ||
| 264 | header-y += netfilter.h | 265 | header-y += netfilter.h |
| 265 | header-y += netfilter_arp.h | 266 | header-y += netfilter_arp.h |
| 266 | header-y += netfilter_bridge.h | 267 | header-y += netfilter_bridge.h |
