diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/acpi/actypes.h | 1 | ||||
| -rw-r--r-- | include/linux/kexec.h | 4 | ||||
| -rw-r--r-- | include/linux/netdevice.h | 10 | ||||
| -rw-r--r-- | include/linux/rhashtable.h | 3 | ||||
| -rw-r--r-- | include/linux/sched.h | 8 | ||||
| -rw-r--r-- | include/linux/skbuff.h | 1 | ||||
| -rw-r--r-- | include/linux/tty.h | 1 | ||||
| -rw-r--r-- | include/linux/usb_usual.h | 2 | ||||
| -rw-r--r-- | include/net/bonding.h | 7 | ||||
| -rw-r--r-- | include/net/inet_connection_sock.h | 20 | ||||
| -rw-r--r-- | include/net/request_sock.h | 18 | ||||
| -rw-r--r-- | include/sound/designware_i2s.h | 2 | ||||
| -rw-r--r-- | include/sound/emu10k1.h | 14 | ||||
| -rw-r--r-- | include/sound/soc-dapm.h | 2 | ||||
| -rw-r--r-- | include/sound/soc.h | 12 | ||||
| -rw-r--r-- | include/sound/spear_dma.h | 2 |
16 files changed, 42 insertions, 65 deletions
diff --git a/include/acpi/actypes.h b/include/acpi/actypes.h index f5ca0e989bba..1c3002e1db20 100644 --- a/include/acpi/actypes.h +++ b/include/acpi/actypes.h | |||
| @@ -124,7 +124,6 @@ | |||
| 124 | #ifndef ACPI_USE_SYSTEM_INTTYPES | 124 | #ifndef ACPI_USE_SYSTEM_INTTYPES |
| 125 | 125 | ||
| 126 | typedef unsigned char u8; | 126 | typedef unsigned char u8; |
| 127 | typedef unsigned char u8; | ||
| 128 | typedef unsigned short u16; | 127 | typedef unsigned short u16; |
| 129 | typedef short s16; | 128 | typedef short s16; |
| 130 | typedef COMPILER_DEPENDENT_UINT64 u64; | 129 | typedef COMPILER_DEPENDENT_UINT64 u64; |
diff --git a/include/linux/kexec.h b/include/linux/kexec.h index e60a745ac198..e804306ef5e8 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h | |||
| @@ -40,6 +40,10 @@ | |||
| 40 | #error KEXEC_CONTROL_MEMORY_LIMIT not defined | 40 | #error KEXEC_CONTROL_MEMORY_LIMIT not defined |
| 41 | #endif | 41 | #endif |
| 42 | 42 | ||
| 43 | #ifndef KEXEC_CONTROL_MEMORY_GFP | ||
| 44 | #define KEXEC_CONTROL_MEMORY_GFP GFP_KERNEL | ||
| 45 | #endif | ||
| 46 | |||
| 43 | #ifndef KEXEC_CONTROL_PAGE_SIZE | 47 | #ifndef KEXEC_CONTROL_PAGE_SIZE |
| 44 | #error KEXEC_CONTROL_PAGE_SIZE not defined | 48 | #error KEXEC_CONTROL_PAGE_SIZE not defined |
| 45 | #endif | 49 | #endif |
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index bcbde799ec69..dbad4d728b4b 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
| @@ -60,6 +60,7 @@ struct phy_device; | |||
| 60 | struct wireless_dev; | 60 | struct wireless_dev; |
| 61 | /* 802.15.4 specific */ | 61 | /* 802.15.4 specific */ |
| 62 | struct wpan_dev; | 62 | struct wpan_dev; |
| 63 | struct mpls_dev; | ||
| 63 | 64 | ||
| 64 | void netdev_set_default_ethtool_ops(struct net_device *dev, | 65 | void netdev_set_default_ethtool_ops(struct net_device *dev, |
| 65 | const struct ethtool_ops *ops); | 66 | const struct ethtool_ops *ops); |
| @@ -1627,6 +1628,9 @@ struct net_device { | |||
| 1627 | void *ax25_ptr; | 1628 | void *ax25_ptr; |
| 1628 | struct wireless_dev *ieee80211_ptr; | 1629 | struct wireless_dev *ieee80211_ptr; |
| 1629 | struct wpan_dev *ieee802154_ptr; | 1630 | struct wpan_dev *ieee802154_ptr; |
| 1631 | #if IS_ENABLED(CONFIG_MPLS_ROUTING) | ||
| 1632 | struct mpls_dev __rcu *mpls_ptr; | ||
| 1633 | #endif | ||
| 1630 | 1634 | ||
| 1631 | /* | 1635 | /* |
| 1632 | * Cache lines mostly used on receive path (including eth_type_trans()) | 1636 | * Cache lines mostly used on receive path (including eth_type_trans()) |
| @@ -2021,10 +2025,10 @@ struct pcpu_sw_netstats { | |||
| 2021 | ({ \ | 2025 | ({ \ |
| 2022 | typeof(type) __percpu *pcpu_stats = alloc_percpu(type); \ | 2026 | typeof(type) __percpu *pcpu_stats = alloc_percpu(type); \ |
| 2023 | if (pcpu_stats) { \ | 2027 | if (pcpu_stats) { \ |
| 2024 | int i; \ | 2028 | int __cpu; \ |
| 2025 | for_each_possible_cpu(i) { \ | 2029 | for_each_possible_cpu(__cpu) { \ |
| 2026 | typeof(type) *stat; \ | 2030 | typeof(type) *stat; \ |
| 2027 | stat = per_cpu_ptr(pcpu_stats, i); \ | 2031 | stat = per_cpu_ptr(pcpu_stats, __cpu); \ |
| 2028 | u64_stats_init(&stat->syncp); \ | 2032 | u64_stats_init(&stat->syncp); \ |
| 2029 | } \ | 2033 | } \ |
| 2030 | } \ | 2034 | } \ |
diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h index e23d242d1230..dbcbcc59aa92 100644 --- a/include/linux/rhashtable.h +++ b/include/linux/rhashtable.h | |||
| @@ -282,7 +282,8 @@ static inline bool rht_shrink_below_30(const struct rhashtable *ht, | |||
| 282 | static inline bool rht_grow_above_100(const struct rhashtable *ht, | 282 | static inline bool rht_grow_above_100(const struct rhashtable *ht, |
| 283 | const struct bucket_table *tbl) | 283 | const struct bucket_table *tbl) |
| 284 | { | 284 | { |
| 285 | return atomic_read(&ht->nelems) > tbl->size; | 285 | return atomic_read(&ht->nelems) > tbl->size && |
| 286 | (!ht->p.max_size || tbl->size < ht->p.max_size); | ||
| 286 | } | 287 | } |
| 287 | 288 | ||
| 288 | /* The bucket lock is selected based on the hash and protects mutations | 289 | /* The bucket lock is selected based on the hash and protects mutations |
diff --git a/include/linux/sched.h b/include/linux/sched.h index 8222ae40ecb0..26a2e6122734 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
| @@ -175,14 +175,6 @@ extern void get_iowait_load(unsigned long *nr_waiters, unsigned long *load); | |||
| 175 | extern void calc_global_load(unsigned long ticks); | 175 | extern void calc_global_load(unsigned long ticks); |
| 176 | extern void update_cpu_load_nohz(void); | 176 | extern void update_cpu_load_nohz(void); |
| 177 | 177 | ||
| 178 | /* Notifier for when a task gets migrated to a new CPU */ | ||
| 179 | struct task_migration_notifier { | ||
| 180 | struct task_struct *task; | ||
| 181 | int from_cpu; | ||
| 182 | int to_cpu; | ||
| 183 | }; | ||
| 184 | extern void register_task_migration_notifier(struct notifier_block *n); | ||
| 185 | |||
| 186 | extern unsigned long get_parent_ip(unsigned long addr); | 178 | extern unsigned long get_parent_ip(unsigned long addr); |
| 187 | 179 | ||
| 188 | extern void dump_cpu_task(int cpu); | 180 | extern void dump_cpu_task(int cpu); |
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h index 06793b598f44..66e374d62f64 100644 --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h | |||
| @@ -773,6 +773,7 @@ bool skb_try_coalesce(struct sk_buff *to, struct sk_buff *from, | |||
| 773 | 773 | ||
| 774 | struct sk_buff *__alloc_skb(unsigned int size, gfp_t priority, int flags, | 774 | struct sk_buff *__alloc_skb(unsigned int size, gfp_t priority, int flags, |
| 775 | int node); | 775 | int node); |
| 776 | struct sk_buff *__build_skb(void *data, unsigned int frag_size); | ||
| 776 | struct sk_buff *build_skb(void *data, unsigned int frag_size); | 777 | struct sk_buff *build_skb(void *data, unsigned int frag_size); |
| 777 | static inline struct sk_buff *alloc_skb(unsigned int size, | 778 | static inline struct sk_buff *alloc_skb(unsigned int size, |
| 778 | gfp_t priority) | 779 | gfp_t priority) |
diff --git a/include/linux/tty.h b/include/linux/tty.h index 358a337af598..fe5623c9af71 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h | |||
| @@ -491,6 +491,7 @@ static inline speed_t tty_get_baud_rate(struct tty_struct *tty) | |||
| 491 | 491 | ||
| 492 | extern void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old); | 492 | extern void tty_termios_copy_hw(struct ktermios *new, struct ktermios *old); |
| 493 | extern int tty_termios_hw_change(struct ktermios *a, struct ktermios *b); | 493 | extern int tty_termios_hw_change(struct ktermios *a, struct ktermios *b); |
| 494 | extern int tty_set_termios(struct tty_struct *tty, struct ktermios *kt); | ||
| 494 | 495 | ||
| 495 | extern struct tty_ldisc *tty_ldisc_ref(struct tty_struct *); | 496 | extern struct tty_ldisc *tty_ldisc_ref(struct tty_struct *); |
| 496 | extern void tty_ldisc_deref(struct tty_ldisc *); | 497 | extern void tty_ldisc_deref(struct tty_ldisc *); |
diff --git a/include/linux/usb_usual.h b/include/linux/usb_usual.h index a7f2604c5f25..7f5f78bd15ad 100644 --- a/include/linux/usb_usual.h +++ b/include/linux/usb_usual.h | |||
| @@ -77,6 +77,8 @@ | |||
| 77 | /* Cannot handle ATA_12 or ATA_16 CDBs */ \ | 77 | /* Cannot handle ATA_12 or ATA_16 CDBs */ \ |
| 78 | US_FLAG(NO_REPORT_OPCODES, 0x04000000) \ | 78 | US_FLAG(NO_REPORT_OPCODES, 0x04000000) \ |
| 79 | /* Cannot handle MI_REPORT_SUPPORTED_OPERATION_CODES */ \ | 79 | /* Cannot handle MI_REPORT_SUPPORTED_OPERATION_CODES */ \ |
| 80 | US_FLAG(MAX_SECTORS_240, 0x08000000) \ | ||
| 81 | /* Sets max_sectors to 240 */ \ | ||
| 80 | 82 | ||
| 81 | #define US_FLAG(name, value) US_FL_##name = value , | 83 | #define US_FLAG(name, value) US_FL_##name = value , |
| 82 | enum { US_DO_ALL_FLAGS }; | 84 | enum { US_DO_ALL_FLAGS }; |
diff --git a/include/net/bonding.h b/include/net/bonding.h index fda6feeb6c1f..78ed135e9dea 100644 --- a/include/net/bonding.h +++ b/include/net/bonding.h | |||
| @@ -30,13 +30,6 @@ | |||
| 30 | #include <net/bond_alb.h> | 30 | #include <net/bond_alb.h> |
| 31 | #include <net/bond_options.h> | 31 | #include <net/bond_options.h> |
| 32 | 32 | ||
| 33 | #define DRV_VERSION "3.7.1" | ||
| 34 | #define DRV_RELDATE "April 27, 2011" | ||
| 35 | #define DRV_NAME "bonding" | ||
| 36 | #define DRV_DESCRIPTION "Ethernet Channel Bonding Driver" | ||
| 37 | |||
| 38 | #define bond_version DRV_DESCRIPTION ": v" DRV_VERSION " (" DRV_RELDATE ")\n" | ||
| 39 | |||
| 40 | #define BOND_MAX_ARP_TARGETS 16 | 33 | #define BOND_MAX_ARP_TARGETS 16 |
| 41 | 34 | ||
| 42 | #define BOND_DEFAULT_MIIMON 100 | 35 | #define BOND_DEFAULT_MIIMON 100 |
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 7b5887cd1172..48a815823587 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
| @@ -279,12 +279,6 @@ static inline void inet_csk_reqsk_queue_add(struct sock *sk, | |||
| 279 | void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req, | 279 | void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req, |
| 280 | unsigned long timeout); | 280 | unsigned long timeout); |
| 281 | 281 | ||
| 282 | static inline void inet_csk_reqsk_queue_removed(struct sock *sk, | ||
| 283 | struct request_sock *req) | ||
| 284 | { | ||
| 285 | reqsk_queue_removed(&inet_csk(sk)->icsk_accept_queue, req); | ||
| 286 | } | ||
| 287 | |||
| 288 | static inline void inet_csk_reqsk_queue_added(struct sock *sk, | 282 | static inline void inet_csk_reqsk_queue_added(struct sock *sk, |
| 289 | const unsigned long timeout) | 283 | const unsigned long timeout) |
| 290 | { | 284 | { |
| @@ -306,19 +300,7 @@ static inline int inet_csk_reqsk_queue_is_full(const struct sock *sk) | |||
| 306 | return reqsk_queue_is_full(&inet_csk(sk)->icsk_accept_queue); | 300 | return reqsk_queue_is_full(&inet_csk(sk)->icsk_accept_queue); |
| 307 | } | 301 | } |
| 308 | 302 | ||
| 309 | static inline void inet_csk_reqsk_queue_unlink(struct sock *sk, | 303 | void inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req); |
| 310 | struct request_sock *req) | ||
| 311 | { | ||
| 312 | reqsk_queue_unlink(&inet_csk(sk)->icsk_accept_queue, req); | ||
| 313 | } | ||
| 314 | |||
| 315 | static inline void inet_csk_reqsk_queue_drop(struct sock *sk, | ||
| 316 | struct request_sock *req) | ||
| 317 | { | ||
| 318 | inet_csk_reqsk_queue_unlink(sk, req); | ||
| 319 | inet_csk_reqsk_queue_removed(sk, req); | ||
| 320 | reqsk_put(req); | ||
| 321 | } | ||
| 322 | 304 | ||
| 323 | void inet_csk_destroy_sock(struct sock *sk); | 305 | void inet_csk_destroy_sock(struct sock *sk); |
| 324 | void inet_csk_prepare_forced_close(struct sock *sk); | 306 | void inet_csk_prepare_forced_close(struct sock *sk); |
diff --git a/include/net/request_sock.h b/include/net/request_sock.h index fe41f3ceb008..9f4265ce8892 100644 --- a/include/net/request_sock.h +++ b/include/net/request_sock.h | |||
| @@ -212,24 +212,6 @@ static inline int reqsk_queue_empty(struct request_sock_queue *queue) | |||
| 212 | return queue->rskq_accept_head == NULL; | 212 | return queue->rskq_accept_head == NULL; |
| 213 | } | 213 | } |
| 214 | 214 | ||
| 215 | static inline void reqsk_queue_unlink(struct request_sock_queue *queue, | ||
| 216 | struct request_sock *req) | ||
| 217 | { | ||
| 218 | struct listen_sock *lopt = queue->listen_opt; | ||
| 219 | struct request_sock **prev; | ||
| 220 | |||
| 221 | spin_lock(&queue->syn_wait_lock); | ||
| 222 | |||
| 223 | prev = &lopt->syn_table[req->rsk_hash]; | ||
| 224 | while (*prev != req) | ||
| 225 | prev = &(*prev)->dl_next; | ||
| 226 | *prev = req->dl_next; | ||
| 227 | |||
| 228 | spin_unlock(&queue->syn_wait_lock); | ||
| 229 | if (del_timer(&req->rsk_timer)) | ||
| 230 | reqsk_put(req); | ||
| 231 | } | ||
| 232 | |||
| 233 | static inline void reqsk_queue_add(struct request_sock_queue *queue, | 215 | static inline void reqsk_queue_add(struct request_sock_queue *queue, |
| 234 | struct request_sock *req, | 216 | struct request_sock *req, |
| 235 | struct sock *parent, | 217 | struct sock *parent, |
diff --git a/include/sound/designware_i2s.h b/include/sound/designware_i2s.h index 26f406e0f673..3a8fca9409a7 100644 --- a/include/sound/designware_i2s.h +++ b/include/sound/designware_i2s.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (ST) 2012 Rajeev Kumar (rajeev-dlh.kumar@st.com) | 2 | * Copyright (ST) 2012 Rajeev Kumar (rajeevkumar.linux@gmail.com) |
| 3 | * | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by | 5 | * it under the terms of the GNU General Public License as published by |
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h index 0de95ccb92cf..5bd134651f5e 100644 --- a/include/sound/emu10k1.h +++ b/include/sound/emu10k1.h | |||
| @@ -41,7 +41,8 @@ | |||
| 41 | 41 | ||
| 42 | #define EMUPAGESIZE 4096 | 42 | #define EMUPAGESIZE 4096 |
| 43 | #define MAXREQVOICES 8 | 43 | #define MAXREQVOICES 8 |
| 44 | #define MAXPAGES 8192 | 44 | #define MAXPAGES0 4096 /* 32 bit mode */ |
| 45 | #define MAXPAGES1 8192 /* 31 bit mode */ | ||
| 45 | #define RESERVED 0 | 46 | #define RESERVED 0 |
| 46 | #define NUM_MIDI 16 | 47 | #define NUM_MIDI 16 |
| 47 | #define NUM_G 64 /* use all channels */ | 48 | #define NUM_G 64 /* use all channels */ |
| @@ -50,8 +51,7 @@ | |||
| 50 | 51 | ||
| 51 | /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ | 52 | /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ |
| 52 | #define EMU10K1_DMA_MASK 0x7fffffffUL /* 31bit */ | 53 | #define EMU10K1_DMA_MASK 0x7fffffffUL /* 31bit */ |
| 53 | #define AUDIGY_DMA_MASK 0x7fffffffUL /* 31bit FIXME - 32 should work? */ | 54 | #define AUDIGY_DMA_MASK 0xffffffffUL /* 32bit mode */ |
| 54 | /* See ALSA bug #1276 - rlrevell */ | ||
| 55 | 55 | ||
| 56 | #define TMEMSIZE 256*1024 | 56 | #define TMEMSIZE 256*1024 |
| 57 | #define TMEMSIZEREG 4 | 57 | #define TMEMSIZEREG 4 |
| @@ -466,8 +466,11 @@ | |||
| 466 | 466 | ||
| 467 | #define MAPB 0x0d /* Cache map B */ | 467 | #define MAPB 0x0d /* Cache map B */ |
| 468 | 468 | ||
| 469 | #define MAP_PTE_MASK 0xffffe000 /* The 19 MSBs of the PTE indexed by the PTI */ | 469 | #define MAP_PTE_MASK0 0xfffff000 /* The 20 MSBs of the PTE indexed by the PTI */ |
| 470 | #define MAP_PTI_MASK 0x00001fff /* The 13 bit index to one of the 8192 PTE dwords */ | 470 | #define MAP_PTI_MASK0 0x00000fff /* The 12 bit index to one of the 4096 PTE dwords */ |
| 471 | |||
| 472 | #define MAP_PTE_MASK1 0xffffe000 /* The 19 MSBs of the PTE indexed by the PTI */ | ||
| 473 | #define MAP_PTI_MASK1 0x00001fff /* The 13 bit index to one of the 8192 PTE dwords */ | ||
| 471 | 474 | ||
| 472 | /* 0x0e, 0x0f: Not used */ | 475 | /* 0x0e, 0x0f: Not used */ |
| 473 | 476 | ||
| @@ -1704,6 +1707,7 @@ struct snd_emu10k1 { | |||
| 1704 | unsigned short model; /* subsystem id */ | 1707 | unsigned short model; /* subsystem id */ |
| 1705 | unsigned int card_type; /* EMU10K1_CARD_* */ | 1708 | unsigned int card_type; /* EMU10K1_CARD_* */ |
| 1706 | unsigned int ecard_ctrl; /* ecard control bits */ | 1709 | unsigned int ecard_ctrl; /* ecard control bits */ |
| 1710 | unsigned int address_mode; /* address mode */ | ||
| 1707 | unsigned long dma_mask; /* PCI DMA mask */ | 1711 | unsigned long dma_mask; /* PCI DMA mask */ |
| 1708 | unsigned int delay_pcm_irq; /* in samples */ | 1712 | unsigned int delay_pcm_irq; /* in samples */ |
| 1709 | int max_cache_pages; /* max memory size / PAGE_SIZE */ | 1713 | int max_cache_pages; /* max memory size / PAGE_SIZE */ |
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index 0bc83647d3fa..1065095c6973 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h | |||
| @@ -287,7 +287,7 @@ struct device; | |||
| 287 | .access = SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_READWRITE,\ | 287 | .access = SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_READWRITE,\ |
| 288 | .tlv.p = (tlv_array), \ | 288 | .tlv.p = (tlv_array), \ |
| 289 | .get = snd_soc_dapm_get_volsw, .put = snd_soc_dapm_put_volsw, \ | 289 | .get = snd_soc_dapm_get_volsw, .put = snd_soc_dapm_put_volsw, \ |
| 290 | .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) } | 290 | .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 1) } |
| 291 | #define SOC_DAPM_SINGLE_TLV_VIRT(xname, max, tlv_array) \ | 291 | #define SOC_DAPM_SINGLE_TLV_VIRT(xname, max, tlv_array) \ |
| 292 | SOC_DAPM_SINGLE(xname, SND_SOC_NOPM, 0, max, 0, tlv_array) | 292 | SOC_DAPM_SINGLE(xname, SND_SOC_NOPM, 0, max, 0, tlv_array) |
| 293 | #define SOC_DAPM_ENUM(xname, xenum) \ | 293 | #define SOC_DAPM_ENUM(xname, xenum) \ |
diff --git a/include/sound/soc.h b/include/sound/soc.h index fcb312b3f258..f6226914acfe 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
| @@ -387,8 +387,20 @@ int snd_soc_codec_set_pll(struct snd_soc_codec *codec, int pll_id, int source, | |||
| 387 | int snd_soc_register_card(struct snd_soc_card *card); | 387 | int snd_soc_register_card(struct snd_soc_card *card); |
| 388 | int snd_soc_unregister_card(struct snd_soc_card *card); | 388 | int snd_soc_unregister_card(struct snd_soc_card *card); |
| 389 | int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card); | 389 | int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card); |
| 390 | #ifdef CONFIG_PM_SLEEP | ||
| 390 | int snd_soc_suspend(struct device *dev); | 391 | int snd_soc_suspend(struct device *dev); |
| 391 | int snd_soc_resume(struct device *dev); | 392 | int snd_soc_resume(struct device *dev); |
| 393 | #else | ||
| 394 | static inline int snd_soc_suspend(struct device *dev) | ||
| 395 | { | ||
| 396 | return 0; | ||
| 397 | } | ||
| 398 | |||
| 399 | static inline int snd_soc_resume(struct device *dev) | ||
| 400 | { | ||
| 401 | return 0; | ||
| 402 | } | ||
| 403 | #endif | ||
| 392 | int snd_soc_poweroff(struct device *dev); | 404 | int snd_soc_poweroff(struct device *dev); |
| 393 | int snd_soc_register_platform(struct device *dev, | 405 | int snd_soc_register_platform(struct device *dev, |
| 394 | const struct snd_soc_platform_driver *platform_drv); | 406 | const struct snd_soc_platform_driver *platform_drv); |
diff --git a/include/sound/spear_dma.h b/include/sound/spear_dma.h index 65aca51fe255..e290de4e7e82 100644 --- a/include/sound/spear_dma.h +++ b/include/sound/spear_dma.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * linux/spear_dma.h | 2 | * linux/spear_dma.h |
| 3 | * | 3 | * |
| 4 | * Copyright (ST) 2012 Rajeev Kumar (rajeev-dlh.kumar@st.com) | 4 | * Copyright (ST) 2012 Rajeev Kumar (rajeevkumar.linux@gmail.com) |
| 5 | * | 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
