Compilation bugs

 

===================================================================================================================================================================
BUG
===================================================================================================================================================================
In file included from fs/coda/psdev.c:45:
include/linux/coda.h:223: error: expected specifier-qualifier-list before 'u_quad_t'
 
SOLUTION:
 
Modify .config 
 
--CONFIG_CODA_FS=m
++CONFIG_CODA_FS=n
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
fs/proc/stat.c: In function 'show_stat':
fs/proc/stat.c:183:1: error: unrecognizable insn:
(insn 506 505 448 8 fs/proc/stat.c:179 (set (reg:SI 48 $r48)
       (plus:SI (mult:SI (reg/v:SI 60 $r60 [orig:152 i ] [152])
               (const_int 4 [0x4]))
           (reg:SI 48 $r48))) -1 (nil))
fs/proc/stat.c:188:1: internal compiler error: in extract_insn, at recog.c:2103
 
SOLUTION:
 
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
In file included from include/linux/thread_info.h:54:0,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/kobject.h:23,
                 from include/linux/device.h:17,
                 from fs/pstore/ram_core.c:15:
/home/picorel/Desktop/ORACLE/framework/my_kernel_tree/arch/cava/include/asm/thread_info.h:70:17: warning: call-clobbered register used for global register variable
fs/pstore/ram_core.c: In function 'persistent_ram_iomap':
fs/pstore/ram_core.c:367:2: error: implicit declaration of function 'ioremap'
fs/pstore/ram_core.c:367:2: warning: return makes pointer from integer without a cast
fs/pstore/ram_core.c: In function 'persistent_ram_free':
fs/pstore/ram_core.c:437:4: error: implicit declaration of function 'iounmap'
make[2]: *** [fs/pstore/ram_core.o] Error 1
make[1]: *** [fs/pstore] Error 2
make: *** [fs] Error 2
 
SOLUTION:
 
//ioremap(...)
//iounmap(...)
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
crypto/xor.c:25:21: fatal error: asm/xor.h: No such file or directory
 
SOLUTION:
 
vim arch/cava/include/asm/xor.h
 
#ifndef _ASM_XOR_H
#define _ASM_XOR_H
 
#include <asm-generic/xor.h>
 
#endif
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/char/hw_random/timeriomem-rng.c: In function 'timeriomem_rng_probe':
drivers/char/hw_random/timeriomem-rng.c:103:2: error: implicit declaration of function 'ioremap'
drivers/char/hw_random/timeriomem-rng.c:103:31: warning: assignment makes pointer from integer without a cast
drivers/char/hw_random/timeriomem-rng.c:128:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers -> 
Character devices ->
Hardware Random Number Generator Core support ->
[] Timer IOMEM HW Random Number Generator support
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/char/ipmi/ipmi_si_intf.c: In function 'mem_cleanup':
drivers/char/ipmi/ipmi_si_intf.c:1511:3: error: implicit declaration of function 'iounmap'
drivers/char/ipmi/ipmi_si_intf.c: In function 'mem_setup':
drivers/char/ipmi/ipmi_si_intf.c:1572:2: error: implicit declaration of function 'ioremap'
drivers/char/ipmi/ipmi_si_intf.c:1572:16: warning: assignment makes pointer from integer without a cast
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers -> 
Character devices ->
[] IPMI top-level message handler
===================================================================================================================================================================
 
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
In file included from include/drm/drmP.h:74:0,
                 from drivers/gpu/drm/drm_auth.c:36:
/home/picorel/Desktop/ORACLE/framework/my_kernel_tree/arch/cava/include/asm/pgalloc.h: In function 'pgd_alloc':
/home/picorel/Desktop/ORACLE/framework/my_kernel_tree/arch/cava/include/asm/pgalloc.h:26:10: error: 'init_mm' undeclared (first use in this function)
===================================================================================================================================================================
 
SOLUTION:
 
vim arch/cava/include/asm/pgalloc.h
 
++#include <linux/sched.h>
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
In file included from include/drm/drmP.h:74:0,
                 from drivers/gpu/drm/drm_auth.c:36:
/home/picorel/Desktop/ORACLE/framework/my_kernel_tree/arch/cava/include/asm/pgalloc.h: In function 'pte_alloc_one':
/home/picorel/Desktop/ORACLE/framework/my_kernel_tree/arch/cava/include/asm/pgalloc.h:60:3: error: implicit declaration of function 'clear_highpage'
===================================================================================================================================================================
 
SOLUTION:
 
vim arch/cava/include/asm/pgalloc.h
 
++#include <linux/highmem.h>
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
In file included from include/drm/drmP.h:75:0,
                 from drivers/gpu/drm/drm_auth.c:36:
/home/picorel/Desktop/ORACLE/framework/my_kernel_tree/include/uapi/drm/drm.h:47:24: fatal error: sys/ioccom.h: No such file or directory
 
SOLUTION:
 
vim include/uapi/drm/drm.h
 
--#if defined(__linux__)
++#if defined(__KERNEL__) || defined(__linux__)
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/gpu/drm/drm_bufs.c: In function 'drm_addmap_core':
drivers/gpu/drm/drm_bufs.c:218:4: error: implicit declaration of function 'ioremap'
drivers/gpu/drm/drm_bufs.c:218:16: warning: assignment makes pointer from integer without a cast
drivers/gpu/drm/drm_bufs.c:336:4: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
 
make ARCH=cava menuconfig
 
Device & drivers -> 
Graphics supports ->
[] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
===================================================================================================================================================================
 
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/i2c/busses/i2c-pca-platform.c: In function 'i2c_pca_pf_probe':
drivers/i2c/busses/i2c-pca-platform.c:165:2: error: implicit declaration of function 'ioremap'
drivers/i2c/busses/i2c-pca-platform.c:165:16: warning: assignment makes pointer from integer without a cast
drivers/i2c/busses/i2c-pca-platform.c:250:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers -> 
I2C support      ->
I2C Hardware Bus support ->
< > PCA9564/PCA9665 as platform device
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/i2c/busses/i2c-simtec.c: In function 'simtec_i2c_probe':
drivers/i2c/busses/i2c-simtec.c:104:2: error: implicit declaration of function 'ioremap'
drivers/i2c/busses/i2c-simtec.c:104:10: warning: assignment makes pointer from integer without a cast
drivers/i2c/busses/i2c-simtec.c:134:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers -> 
I2C support      ->
I2C Hardware Bus support ->
< > Simtec Generic I2C interface
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/i2c/busses/i2c-xiic.c: In function 'xiic_i2c_probe':
drivers/i2c/busses/i2c-xiic.c:720:2: error: implicit declaration of function 'ioremap'
drivers/i2c/busses/i2c-xiic.c:720:12: warning: assignment makes pointer from integer without a cast
drivers/i2c/busses/i2c-xiic.c:765:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers -> 
I2C support      ->
I2C Hardware Bus support ->
< > Xilinx I2C Controller
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/input/keyboard/omap4-keypad.c: In function 'omap4_keypad_probe':
drivers/input/keyboard/omap4-keypad.c:294:2: error: implicit declaration of function 'ioremap'
drivers/input/keyboard/omap4-keypad.c:294:20: warning: assignment makes pointer from integer without a cast
drivers/input/keyboard/omap4-keypad.c:401:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers -> 
Input device support ->
Keyboards ->
< > TI OMAP4+ keypad support
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/input/keyboard/opencores-kbd.c: In function 'opencores_kbd_probe':
drivers/input/keyboard/opencores-kbd.c:75:2: error: implicit declaration of function 'ioremap'
drivers/input/keyboard/opencores-kbd.c:75:22: warning: assignment makes pointer from integer without a cast
drivers/input/keyboard/opencores-kbd.c:132:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Input device support ->
Keyboards ->
< > OpenCores Keyboard Controller
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/input/serio/altera_ps2.c: In function 'altera_ps2_probe':
drivers/input/serio/altera_ps2.c:127:2: error: implicit declaration of function 'ioremap'
drivers/input/serio/altera_ps2.c:127:14: warning: assignment makes pointer from integer without a cast
drivers/input/serio/altera_ps2.c:149:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Input device support ->
Keyboards ->
Hardware I/O ports ->
< > Altera UP PS/2 controller
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/isdn/hisax/diva.c: In function 'release_io_diva':
drivers/isdn/hisax/diva.c:718:4: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
ISDN support ->
--- Old ISDN4Linux (deprecated) ->
Passive cards ->
[] HiSax SiemensChipSet driver support
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mfd/sm501.c: In function 'sm501_plat_probe':
drivers/mfd/sm501.c:1435:2: error: implicit declaration of function 'ioremap'
drivers/mfd/sm501.c:1435:11: warning: assignment makes pointer from integer without a cast
drivers/mfd/sm501.c: In function 'sm501_pci_remove':
drivers/mfd/sm501.c:1693:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Multifunction device drivers ->
< > Support for Silicon Motion SM501
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mfd/htc-pasic3.c: In function 'pasic3_probe':
drivers/mfd/htc-pasic3.c:156:2: error: implicit declaration of function 'ioremap'
drivers/mfd/htc-pasic3.c:156:16: warning: assignment makes pointer from integer without a cast
drivers/mfd/htc-pasic3.c: In function 'pasic3_remove':
drivers/mfd/htc-pasic3.c:195:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Multifunction device drivers ->
< > HTC PASIC3 LED/DS1WM chip support
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/devices/doc2001plus.c: In function 'DoCMilPlus_init':
drivers/mtd/devices/doc2001plus.c:454:4: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
Self-contained MTD device drivers ->
< > M-Systems Disk-On-Chip Millennium Plus
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/devices/docg3.c: In function 'docg3_probe':
drivers/mtd/devices/docg3.c:2052:2: error: implicit declaration of function 'ioremap'
drivers/mtd/devices/docg3.c:2052:7: warning: assignment makes pointer from integer without a cast
drivers/mtd/devices/docg3.c:2107:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
Self-contained MTD device drivers ->
< > M-Systems Disk-On-Chip G3
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/devices/slram.c: In function 'register_device':
drivers/mtd/devices/slram.c:166:5: error: implicit declaration of function 'ioremap'
drivers/mtd/devices/slram.c:165:58: warning: assignment makes pointer from integer without a cast
drivers/mtd/devices/slram.c:189:3: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
Self-contained MTD device drivers ->
< > Uncached system RAM
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/devices/phram.c: In function 'unregister_devices':
drivers/mtd/devices/phram.c:91:3: error: implicit declaration of function 'iounmap'
drivers/mtd/devices/phram.c: In function 'register_device':
drivers/mtd/devices/phram.c:107:2: error: implicit declaration of function 'ioremap'
drivers/mtd/devices/phram.c:107:16: warning: assignment makes pointer from integer without a cast
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
Self-contained MTD device drivers ->
< > Physical system RAM
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/maps/plat-ram.c: In function 'platram_remove':
drivers/mtd/maps/plat-ram.c:111:3: error: implicit declaration of function 'iounmap'
drivers/mtd/maps/plat-ram.c: In function 'platram_probe':
drivers/mtd/maps/plat-ram.c:185:2: error: implicit declaration of function 'ioremap'
drivers/mtd/maps/plat-ram.c:185:17: warning: assignment makes pointer from integer without a cast
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
Mapping drivers for chip access ->
< > Map driver for platform device RAM (mtd-ram)
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/maps/latch-addr-flash.c: In function 'latch_addr_flash_remove':
drivers/mtd/maps/latch-addr-flash.c:115:3: error: implicit declaration of function 'iounmap'
drivers/mtd/maps/latch-addr-flash.c: In function 'latch_addr_flash_probe':
drivers/mtd/maps/latch-addr-flash.c:174:2: error: implicit declaration of function 'ioremap'
drivers/mtd/maps/latch-addr-flash.c:174:18: warning: assignment makes pointer from integer without a cast
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
Mapping drivers for chip access ->
< > Latch-assisted Flash Chip Support
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/nand/diskonchip.c:57:2: warning: #warning Unknown architecture for DiskOnChip. No default probe locations defined
drivers/mtd/nand/diskonchip.c: In function 'doc_probe':
drivers/mtd/nand/diskonchip.c:1445:2: error: implicit declaration of function 'ioremap'
drivers/mtd/nand/diskonchip.c:1445:10: warning: assignment makes pointer from integer without a cast
drivers/mtd/nand/diskonchip.c:1633:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
NAND Device Support ->
< > DiskOnChip 2000, Millennium and Millennium Plus (NAND reimplementation) (EXPERIMENTAL)
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/nand/docg4.c: In function 'probe_docg4':
drivers/mtd/nand/docg4.c:1255:2: error: implicit declaration of function 'ioremap'
drivers/mtd/nand/docg4.c:1255:10: warning: assignment makes pointer from integer without a cast
drivers/mtd/nand/docg4.c:1310:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
NAND Device Support ->
< > Support for DiskOnChip G4 (EXPERIMENTAL)
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/nand/plat_nand.c: In function 'plat_nand_probe':
drivers/mtd/nand/plat_nand.c:68:2: error: implicit declaration of function 'ioremap'
drivers/mtd/nand/plat_nand.c:68:16: warning: assignment makes pointer from integer without a cast
drivers/mtd/nand/plat_nand.c:126:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
NAND Device Support ->
< > Support for generic platform NAND driver
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/mtd/onenand/generic.c: In function 'generic_onenand_probe':
drivers/mtd/onenand/generic.c:55:2: error: implicit declaration of function 'ioremap'
drivers/mtd/onenand/generic.c:55:21: warning: assignment makes pointer from integer without a cast
drivers/mtd/onenand/generic.c:82:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Memory Technology Device (MTD) support ->
< > OneNAND Device Support
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/net/can/c_can/c_can_platform.c: In function 'c_can_plat_probe':
drivers/net/can/c_can/c_can_platform.c:146:2: error: implicit declaration of function 'ioremap'
drivers/net/can/c_can/c_can_platform.c:146:7: warning: assignment makes pointer from integer without a cast
drivers/net/can/c_can/c_can_platform.c:212:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Networking support ->
CAN bus subsystem support ->
CAN Device Drivers ->
< > Platform CAN drivers with Netlink support
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/net/ethernet/micrel/ks8851_mll.c: In function 'ks8851_probe':
drivers/net/ethernet/micrel/ks8851_mll.c:1535:2: error: implicit declaration of function 'ioremap'
drivers/net/ethernet/micrel/ks8851_mll.c:1535:14: warning: assignment makes pointer from integer without a cast
drivers/net/ethernet/micrel/ks8851_mll.c:1540:18: warning: assignment makes pointer from integer without a cast
drivers/net/ethernet/micrel/ks8851_mll.c:1631:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Network device support ->
Ethernet driver support ->
Micrel devices ->
< > Micrel KS8851 MLL
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/net/ethernet/dnet.c: In function 'dnet_probe':
drivers/net/ethernet/dnet.c:872:2: error: implicit declaration of function 'ioremap'
drivers/net/ethernet/dnet.c:872:11: warning: assignment makes pointer from integer without a cast
drivers/net/ethernet/dnet.c:939:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Network device support ->
Ethernet driver support ->
< > Dave ethernet support (DNET)
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/net/wireless/ath/ath9k/ahb.c: In function 'ath_ahb_probe':
drivers/net/wireless/ath/ath9k/ahb.c:100:2: error: implicit declaration of function 'ioremap_nocache'
drivers/net/wireless/ath/ath9k/ahb.c:100:6: warning: assignment makes pointer from integer without a cast
drivers/net/wireless/ath/ath9k/ahb.c:160:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Network device support ->
Wireless LAN ->
Atheros Wireless Cards ->
[ ] Atheros ath9k AHB bus support
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/net/wireless/ath/ath9k/eeprom_4k.c: In function 'ath9k_hw_4k_set_txpower':
drivers/net/wireless/ath/ath9k/eeprom_4k.c:756:1: error: unrecognizable insn:
(insn 784 783 371 21 drivers/net/wireless/ath/ath9k/eeprom_4k.c:677 (set (reg:SI 48 $r48)
        (plus:SI (mult:SI (reg/v:SI 51 $r51 [orig:100 i ] [100])
                (const_int 2 [0x2]))
            (reg:SI 48 $r48))) -1 (nil))
drivers/net/wireless/ath/ath9k/eeprom_4k.c:756:1: internal compiler error: in extract_insn, at recog.c:2103
 
SOLUTION:
 
Don't support any feature of the Atheros ath9k card [NO SUPPORT, NO DEBUG, NO RATE]
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/parport/parport_pc.c:67:25: fatal error: asm/parport.h: No such file or directory
 
SOLUTION:
 
vim drivers/parport/Kconfig
 
config PARPORT_PC
        tristate "PC-style hardware"
        depends on (!SPARC64 || PCI) && !SPARC32 && !M32R && !FRV && \
--                (!M68K || ISA) && !MN10300 && !AVR32 && !BLACKFIN && !XTENSA
++                (!M68K || ISA) && !MN10300 && !AVR32 && !BLACKFIN && !XTENSA && !SCORE
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/parport/parport_ax88796.c: In function 'parport_ax88796_probe':
drivers/parport/parport_ax88796.c:306:2: error: implicit declaration of function 'ioremap'
drivers/parport/parport_ax88796.c:306:11: warning: assignment makes pointer from integer without a cast
drivers/parport/parport_ax88796.c:359:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Parallel port support ->
< > AX88796 Parallel Port
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/rtc/rtc-bq4802.c: In function 'bq4802_probe':
drivers/rtc/rtc-bq4802.c:165:3: error: implicit declaration of function 'ioremap'
drivers/rtc/rtc-bq4802.c:165:11: warning: assignment makes pointer from integer without a cast
drivers/rtc/rtc-bq4802.c:188:3: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Real Time Clock ->
< > TI BQ4802
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/rtc/rtc-ds1286.c: In function 'ds1286_probe':
drivers/rtc/rtc-ds1286.c:352:2: error: implicit declaration of function 'ioremap'
drivers/rtc/rtc-ds1286.c:352:16: warning: assignment makes pointer from integer without a cast
drivers/rtc/rtc-ds1286.c:372:3: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Real Time Clock ->
< > Dallas DS1286
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/rtc/rtc-m48t35.c: In function 'm48t35_probe':
drivers/rtc/rtc-m48t35.c:169:2: error: implicit declaration of function 'ioremap'
drivers/rtc/rtc-m48t35.c:169:12: warning: assignment makes pointer from integer without a cast
drivers/rtc/rtc-m48t35.c:190:3: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Real Time Clock ->
< > ST M48T35
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/rtc/rtc-m48t59.c: In function 'm48t59_rtc_probe':
drivers/rtc/rtc-m48t59.c:436:3: error: implicit declaration of function 'ioremap'
drivers/rtc/rtc-m48t59.c:436:18: warning: assignment makes pointer from integer without a cast
drivers/rtc/rtc-m48t59.c:499:3: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Real Time Clock ->
< > ST M48T59/M48T08/M48T02
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/rtc/rtc-msm6242.c: In function 'msm6242_rtc_probe':
drivers/rtc/rtc-msm6242.c:212:2: error: implicit declaration of function 'ioremap'
drivers/rtc/rtc-msm6242.c:212:13: warning: assignment makes pointer from integer without a cast
drivers/rtc/rtc-msm6242.c:231:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Real Time Clock ->
< > Oki MSM6242
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/rtc/rtc-rp5c01.c: In function 'rp5c01_rtc_probe':
drivers/rtc/rtc-rp5c01.c:237:2: error: implicit declaration of function 'ioremap'
drivers/rtc/rtc-rp5c01.c:237:13: warning: assignment makes pointer from integer without a cast
drivers/rtc/rtc-rp5c01.c:272:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Real Time Clock ->
< > Ricoh RP5C01
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/rtc/rtc-v3020.c: In function 'v3020_mmio_map':
drivers/rtc/rtc-v3020.c:81:2: error: implicit declaration of function 'ioremap'
drivers/rtc/rtc-v3020.c:81:18: warning: assignment makes pointer from integer without a cast
drivers/rtc/rtc-v3020.c: In function 'v3020_mmio_unmap':
drivers/rtc/rtc-v3020.c:90:2: error: implicit declaration of function 'iounmap'
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
Real Time Clock ->
< > EM Microelectronic V3020
===================================================================================================================================================================
 
===================================================================================================================================================================
BUG
===================================================================================================================================================================
drivers/scsi/scsi_lib.c: In function 'scsi_calculate_bounce_limit':
drivers/scsi/scsi_lib.c:1662:7: error: 'PCI_DMA_BUS_IS_PHYS' undeclared (first use in this function)
drivers/scsi/scsi_lib.c:1662:7: note: each undeclared identifier is reported only once for each function it appears in
 
SOLUTION:
 
make ARCH=cava menuconfig
 
Device & drivers ->
SCSI device support ->
Remove all SCSI support
===================================================================================================================================================================