sound/soc/codecs/wm8903.c:2043:9: error: implicit declaration of function 'irq_get_irq_data'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings,

Some more s390 related kernel build failures.

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux master
head:   9064171268d838b8f283fe111ef086b9479d059a
commit: 9d35f3e100eb5cfb91d777c8621fb585ad0327cd ASoC: WM8903: Get default irq_active_low from IRQ controller
date:   1 year, 4 months ago
config: make ARCH=s390 allmodconfig

All error/warnings:

   sound/soc/codecs/wm8903.c:2036:2: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
   sound/soc/codecs/wm8903.c: In function 'wm8903_set_pdata_irq_trigger':
>> sound/soc/codecs/wm8903.c:2043:9: error: implicit declaration of function 'irq_get_irq_data' [-Werror=implicit-function-declaration]
   sound/soc/codecs/wm8903.c:2043:30: warning: initialization makes pointer from integer without a cast [enabled by default]
   sound/soc/codecs/wm8903.c:2050:2: error: implicit declaration of function 'irqd_get_trigger_type' [-Werror=implicit-function-declaration]
   sound/soc/codecs/wm8903.c:2051:7: error: 'IRQ_TYPE_NONE' undeclared (first use in this function)
   sound/soc/codecs/wm8903.c:2051:7: note: each undeclared identifier is reported only once for each function it appears in
   sound/soc/codecs/wm8903.c:2057:7: error: 'IRQ_TYPE_LEVEL_HIGH' undeclared (first use in this function)
   sound/soc/codecs/wm8903.c:2060:7: error: 'IRQ_TYPE_LEVEL_LOW' undeclared (first use in this function)
   sound/soc/codecs/wm8903.c: In function 'wm8903_modinit':
   sound/soc/codecs/wm8903.c:2178:2: error: implicit declaration of function 'i2c_add_driver' [-Werror=implicit-function-declaration]
   sound/soc/codecs/wm8903.c: In function 'wm8903_exit':
   sound/soc/codecs/wm8903.c:2189:2: error: implicit declaration of function 'i2c_del_driver' [-Werror=implicit-function-declaration]
   cc1: some warnings being treated as errors

vim +/irq_get_irq_data +2043 sound/soc/codecs/wm8903.c

ee244ce4 Mark Brown     2011-12-02  2037  	.num_reg_defaults = ARRAY_SIZE(wm8903_reg_defaults),
ee244ce4 Mark Brown     2011-12-02  2038  };
ee244ce4 Mark Brown     2011-12-02  2039  
9d35f3e1 Stephen Warren 2011-12-02  2040  static int wm8903_set_pdata_irq_trigger(struct i2c_client *i2c,
9d35f3e1 Stephen Warren 2011-12-02  2041  					struct wm8903_platform_data *pdata)
9d35f3e1 Stephen Warren 2011-12-02  2042  {
9d35f3e1 Stephen Warren 2011-12-02 @2043  	struct irq_data *irq_data = irq_get_irq_data(i2c->irq);
9d35f3e1 Stephen Warren 2011-12-02  2044  	if (!irq_data) {
9d35f3e1 Stephen Warren 2011-12-02  2045  		dev_err(&i2c->dev, "Invalid IRQ: %d\n",
9d35f3e1 Stephen Warren 2011-12-02  2046  			i2c->irq);

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-s390" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux