diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-05 11:57:24 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-05 11:58:03 -0400 |
| commit | e765bf84d59257d3c4f948fbce426ea3565e83ad (patch) | |
| tree | e6c2fa13b21a2faf398c3c6ceba8fe5187e381d7 /include | |
| parent | afd6bb387323154ff6554b52d333ec6efb8efe61 (diff) | |
| parent | 6887a4131da3adaab011613776d865f4bcfb5678 (diff) | |
Merge 3.5-rc5 into usb-next
This resolves a merge issue with the option.c USB serial driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-generic/bug.h | 19 | ||||
| -rw-r--r-- | include/linux/irq.h | 2 | ||||
| -rw-r--r-- | include/linux/skbuff.h | 7 | ||||
| -rw-r--r-- | include/linux/videodev2.h | 6 | ||||
| -rw-r--r-- | include/net/bluetooth/hci.h | 6 | ||||
| -rw-r--r-- | include/net/mac80211.h | 6 | ||||
| -rw-r--r-- | include/net/phonet/gprs.h | 2 | ||||
| -rw-r--r-- | include/scsi/scsi_device.h | 1 | ||||
| -rw-r--r-- | include/sound/tea575x-tuner.h | 3 |
9 files changed, 30 insertions, 22 deletions
diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h index 506ec19a3736..7d10f962aa13 100644 --- a/include/asm-generic/bug.h +++ b/include/asm-generic/bug.h | |||
| @@ -3,10 +3,18 @@ | |||
| 3 | 3 | ||
| 4 | #include <linux/compiler.h> | 4 | #include <linux/compiler.h> |
| 5 | 5 | ||
| 6 | #ifdef CONFIG_GENERIC_BUG | ||
| 7 | #define BUGFLAG_WARNING (1 << 0) | ||
| 8 | #define BUGFLAG_TAINT(taint) (BUGFLAG_WARNING | ((taint) << 8)) | ||
| 9 | #define BUG_GET_TAINT(bug) ((bug)->flags >> 8) | ||
| 10 | #endif | ||
| 11 | |||
| 12 | #ifndef __ASSEMBLY__ | ||
| 13 | #include <linux/kernel.h> | ||
| 14 | |||
| 6 | #ifdef CONFIG_BUG | 15 | #ifdef CONFIG_BUG |
| 7 | 16 | ||
| 8 | #ifdef CONFIG_GENERIC_BUG | 17 | #ifdef CONFIG_GENERIC_BUG |
| 9 | #ifndef __ASSEMBLY__ | ||
| 10 | struct bug_entry { | 18 | struct bug_entry { |
| 11 | #ifndef CONFIG_GENERIC_BUG_RELATIVE_POINTERS | 19 | #ifndef CONFIG_GENERIC_BUG_RELATIVE_POINTERS |
| 12 | unsigned long bug_addr; | 20 | unsigned long bug_addr; |
| @@ -23,17 +31,8 @@ struct bug_entry { | |||
| 23 | #endif | 31 | #endif |
| 24 | unsigned short flags; | 32 | unsigned short flags; |
| 25 | }; | 33 | }; |
| 26 | #endif /* __ASSEMBLY__ */ | ||
| 27 | |||
| 28 | #define BUGFLAG_WARNING (1 << 0) | ||
| 29 | #define BUGFLAG_TAINT(taint) (BUGFLAG_WARNING | ((taint) << 8)) | ||
| 30 | #define BUG_GET_TAINT(bug) ((bug)->flags >> 8) | ||
| 31 | |||
| 32 | #endif /* CONFIG_GENERIC_BUG */ | 34 | #endif /* CONFIG_GENERIC_BUG */ |
| 33 | 35 | ||
| 34 | #ifndef __ASSEMBLY__ | ||
| 35 | #include <linux/kernel.h> | ||
| 36 | |||
| 37 | /* | 36 | /* |
| 38 | * Don't use BUG() or BUG_ON() unless there's really no way out; one | 37 | * Don't use BUG() or BUG_ON() unless there's really no way out; one |
| 39 | * example might be detecting data structure corruption in the middle | 38 | * example might be detecting data structure corruption in the middle |
diff --git a/include/linux/irq.h b/include/linux/irq.h index 61f5cec031e0..a5261e3d2e3c 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h | |||
| @@ -301,8 +301,6 @@ static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d) | |||
| 301 | * @irq_pm_shutdown: function called from core code on shutdown once per chip | 301 | * @irq_pm_shutdown: function called from core code on shutdown once per chip |
| 302 | * @irq_print_chip: optional to print special chip info in show_interrupts | 302 | * @irq_print_chip: optional to print special chip info in show_interrupts |
| 303 | * @flags: chip specific flags | 303 | * @flags: chip specific flags |
| 304 | * | ||
| 305 | * @release: release function solely used by UML | ||
| 306 | */ | 304 | */ |
| 307 | struct irq_chip { | 305 | struct irq_chip { |
| 308 | const char *name; | 306 | const char *name; |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index b534a1be540a..642cb7355df3 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -225,14 +225,11 @@ enum { | |||
| 225 | /* device driver is going to provide hardware time stamp */ | 225 | /* device driver is going to provide hardware time stamp */ |
| 226 | SKBTX_IN_PROGRESS = 1 << 2, | 226 | SKBTX_IN_PROGRESS = 1 << 2, |
| 227 | 227 | ||
| 228 | /* ensure the originating sk reference is available on driver level */ | ||
| 229 | SKBTX_DRV_NEEDS_SK_REF = 1 << 3, | ||
| 230 | |||
| 231 | /* device driver supports TX zero-copy buffers */ | 228 | /* device driver supports TX zero-copy buffers */ |
| 232 | SKBTX_DEV_ZEROCOPY = 1 << 4, | 229 | SKBTX_DEV_ZEROCOPY = 1 << 3, |
| 233 | 230 | ||
| 234 | /* generate wifi status information (where possible) */ | 231 | /* generate wifi status information (where possible) */ |
| 235 | SKBTX_WIFI_STATUS = 1 << 5, | 232 | SKBTX_WIFI_STATUS = 1 << 4, |
| 236 | }; | 233 | }; |
| 237 | 234 | ||
| 238 | /* | 235 | /* |
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index 370d11106c11..2039c5d3292e 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h | |||
| @@ -2640,9 +2640,9 @@ struct v4l2_create_buffers { | |||
| 2640 | 2640 | ||
| 2641 | /* Experimental, these three ioctls may change over the next couple of kernel | 2641 | /* Experimental, these three ioctls may change over the next couple of kernel |
| 2642 | versions. */ | 2642 | versions. */ |
| 2643 | #define VIDIOC_ENUM_DV_TIMINGS _IOWR('V', 96, struct v4l2_enum_dv_timings) | 2643 | #define VIDIOC_ENUM_DV_TIMINGS _IOWR('V', 98, struct v4l2_enum_dv_timings) |
| 2644 | #define VIDIOC_QUERY_DV_TIMINGS _IOR('V', 97, struct v4l2_dv_timings) | 2644 | #define VIDIOC_QUERY_DV_TIMINGS _IOR('V', 99, struct v4l2_dv_timings) |
| 2645 | #define VIDIOC_DV_TIMINGS_CAP _IOWR('V', 98, struct v4l2_dv_timings_cap) | 2645 | #define VIDIOC_DV_TIMINGS_CAP _IOWR('V', 100, struct v4l2_dv_timings_cap) |
| 2646 | 2646 | ||
| 2647 | /* Reminder: when adding new ioctls please add support for them to | 2647 | /* Reminder: when adding new ioctls please add support for them to |
| 2648 | drivers/media/video/v4l2-compat-ioctl32.c as well! */ | 2648 | drivers/media/video/v4l2-compat-ioctl32.c as well! */ |
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 66a7b579e31c..3def64ba77fa 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h | |||
| @@ -1144,6 +1144,12 @@ struct extended_inquiry_info { | |||
| 1144 | __u8 data[240]; | 1144 | __u8 data[240]; |
| 1145 | } __packed; | 1145 | } __packed; |
| 1146 | 1146 | ||
| 1147 | #define HCI_EV_KEY_REFRESH_COMPLETE 0x30 | ||
| 1148 | struct hci_ev_key_refresh_complete { | ||
| 1149 | __u8 status; | ||
| 1150 | __le16 handle; | ||
| 1151 | } __packed; | ||
| 1152 | |||
| 1147 | #define HCI_EV_IO_CAPA_REQUEST 0x31 | 1153 | #define HCI_EV_IO_CAPA_REQUEST 0x31 |
| 1148 | struct hci_ev_io_capa_request { | 1154 | struct hci_ev_io_capa_request { |
| 1149 | bdaddr_t bdaddr; | 1155 | bdaddr_t bdaddr; |
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 1937c7d98304..95e39b6a02ec 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
| @@ -1940,6 +1940,11 @@ enum ieee80211_rate_control_changed { | |||
| 1940 | * to also unregister the device. If it returns 1, then mac80211 | 1940 | * to also unregister the device. If it returns 1, then mac80211 |
| 1941 | * will also go through the regular complete restart on resume. | 1941 | * will also go through the regular complete restart on resume. |
| 1942 | * | 1942 | * |
| 1943 | * @set_wakeup: Enable or disable wakeup when WoWLAN configuration is | ||
| 1944 | * modified. The reason is that device_set_wakeup_enable() is | ||
| 1945 | * supposed to be called when the configuration changes, not only | ||
| 1946 | * in suspend(). | ||
| 1947 | * | ||
| 1943 | * @add_interface: Called when a netdevice attached to the hardware is | 1948 | * @add_interface: Called when a netdevice attached to the hardware is |
| 1944 | * enabled. Because it is not called for monitor mode devices, @start | 1949 | * enabled. Because it is not called for monitor mode devices, @start |
| 1945 | * and @stop must be implemented. | 1950 | * and @stop must be implemented. |
| @@ -2966,6 +2971,7 @@ __le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw, | |||
| 2966 | * ieee80211_generic_frame_duration - Calculate the duration field for a frame | 2971 | * ieee80211_generic_frame_duration - Calculate the duration field for a frame |
| 2967 | * @hw: pointer obtained from ieee80211_alloc_hw(). | 2972 | * @hw: pointer obtained from ieee80211_alloc_hw(). |
| 2968 | * @vif: &struct ieee80211_vif pointer from the add_interface callback. | 2973 | * @vif: &struct ieee80211_vif pointer from the add_interface callback. |
| 2974 | * @band: the band to calculate the frame duration on | ||
| 2969 | * @frame_len: the length of the frame. | 2975 | * @frame_len: the length of the frame. |
| 2970 | * @rate: the rate at which the frame is going to be transmitted. | 2976 | * @rate: the rate at which the frame is going to be transmitted. |
| 2971 | * | 2977 | * |
diff --git a/include/net/phonet/gprs.h b/include/net/phonet/gprs.h index 928daf595beb..bcd525e39a0b 100644 --- a/include/net/phonet/gprs.h +++ b/include/net/phonet/gprs.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | * | 5 | * |
| 6 | * Copyright (C) 2008 Nokia Corporation. | 6 | * Copyright (C) 2008 Nokia Corporation. |
| 7 | * | 7 | * |
| 8 | * Author: Rémi Denis-Courmont <remi.denis-courmont@nokia.com> | 8 | * Author: Rémi Denis-Courmont |
| 9 | * | 9 | * |
| 10 | * This program is free software; you can redistribute it and/or | 10 | * This program is free software; you can redistribute it and/or |
| 11 | * modify it under the terms of the GNU General Public License | 11 | * modify it under the terms of the GNU General Public License |
diff --git a/include/scsi/scsi_device.h b/include/scsi/scsi_device.h index 6efb2e1416e0..ba9698852321 100644 --- a/include/scsi/scsi_device.h +++ b/include/scsi/scsi_device.h | |||
| @@ -151,6 +151,7 @@ struct scsi_device { | |||
| 151 | SD_LAST_BUGGY_SECTORS */ | 151 | SD_LAST_BUGGY_SECTORS */ |
| 152 | unsigned no_read_disc_info:1; /* Avoid READ_DISC_INFO cmds */ | 152 | unsigned no_read_disc_info:1; /* Avoid READ_DISC_INFO cmds */ |
| 153 | unsigned no_read_capacity_16:1; /* Avoid READ_CAPACITY_16 cmds */ | 153 | unsigned no_read_capacity_16:1; /* Avoid READ_CAPACITY_16 cmds */ |
| 154 | unsigned try_rc_10_first:1; /* Try READ_CAPACACITY_10 first */ | ||
| 154 | unsigned is_visible:1; /* is the device visible in sysfs */ | 155 | unsigned is_visible:1; /* is the device visible in sysfs */ |
| 155 | 156 | ||
| 156 | DECLARE_BITMAP(supported_events, SDEV_EVT_MAXBITS); /* supported events */ | 157 | DECLARE_BITMAP(supported_events, SDEV_EVT_MAXBITS); /* supported events */ |
diff --git a/include/sound/tea575x-tuner.h b/include/sound/tea575x-tuner.h index ec3f910aa40b..0c3c2fb0f939 100644 --- a/include/sound/tea575x-tuner.h +++ b/include/sound/tea575x-tuner.h | |||
| @@ -44,6 +44,7 @@ struct snd_tea575x_ops { | |||
| 44 | 44 | ||
| 45 | struct snd_tea575x { | 45 | struct snd_tea575x { |
| 46 | struct v4l2_device *v4l2_dev; | 46 | struct v4l2_device *v4l2_dev; |
| 47 | struct v4l2_file_operations fops; | ||
| 47 | struct video_device vd; /* video device */ | 48 | struct video_device vd; /* video device */ |
| 48 | int radio_nr; /* radio_nr */ | 49 | int radio_nr; /* radio_nr */ |
| 49 | bool tea5759; /* 5759 chip is present */ | 50 | bool tea5759; /* 5759 chip is present */ |
| @@ -62,7 +63,7 @@ struct snd_tea575x { | |||
| 62 | int (*ext_init)(struct snd_tea575x *tea); | 63 | int (*ext_init)(struct snd_tea575x *tea); |
| 63 | }; | 64 | }; |
| 64 | 65 | ||
| 65 | int snd_tea575x_init(struct snd_tea575x *tea); | 66 | int snd_tea575x_init(struct snd_tea575x *tea, struct module *owner); |
| 66 | void snd_tea575x_exit(struct snd_tea575x *tea); | 67 | void snd_tea575x_exit(struct snd_tea575x *tea); |
| 67 | 68 | ||
| 68 | #endif /* __SOUND_TEA575X_TUNER_H */ | 69 | #endif /* __SOUND_TEA575X_TUNER_H */ |
