From: David S. Miller Date: Thu, 24 Sep 2009 22:13:11 +0000 (-0700) Subject: Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ X-Git-Tag: v2.6.32-rc1~21^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b3f6af86378d0a10ca2f1ded1da124aef13b62c;p=profile%2Fivi%2Fkernel-x86-ivi.git Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ Conflicts: drivers/staging/Kconfig drivers/staging/Makefile drivers/staging/cpc-usb/TODO drivers/staging/cpc-usb/cpc-usb_drv.c drivers/staging/cpc-usb/cpc.h drivers/staging/cpc-usb/cpc_int.h drivers/staging/cpc-usb/cpcusb.h --- 8b3f6af86378d0a10ca2f1ded1da124aef13b62c diff --cc arch/arm/mach-at91/at91sam9263_devices.c index 6026c2e,55719a9..fb5c23a --- a/arch/arm/mach-at91/at91sam9263_devices.c +++ b/arch/arm/mach-at91/at91sam9263_devices.c @@@ -754,45 -754,9 +754,45 @@@ void __init at91_add_device_ac97(struc platform_device_register(&at91sam9263_ac97_device); } #else - void __init at91_add_device_ac97(struct atmel_ac97_data *data) {} + void __init at91_add_device_ac97(struct ac97c_platform_data *data) {} #endif +/* -------------------------------------------------------------------- + * CAN Controller + * -------------------------------------------------------------------- */ + +#if defined(CONFIG_CAN_AT91) || defined(CONFIG_CAN_AT91_MODULE) +static struct resource can_resources[] = { + [0] = { + .start = AT91SAM9263_BASE_CAN, + .end = AT91SAM9263_BASE_CAN + SZ_16K - 1, + .flags = IORESOURCE_MEM, + }, + [1] = { + .start = AT91SAM9263_ID_CAN, + .end = AT91SAM9263_ID_CAN, + .flags = IORESOURCE_IRQ, + }, +}; + +static struct platform_device at91sam9263_can_device = { + .name = "at91_can", + .id = -1, + .resource = can_resources, + .num_resources = ARRAY_SIZE(can_resources), +}; + +void __init at91_add_device_can(struct at91_can_data *data) +{ + at91_set_A_periph(AT91_PIN_PA13, 0); /* CANTX */ + at91_set_A_periph(AT91_PIN_PA14, 0); /* CANRX */ + at91sam9263_can_device.dev.platform_data = data; + + platform_device_register(&at91sam9263_can_device); +} +#else +void __init at91_add_device_can(struct at91_can_data *data) {} +#endif /* -------------------------------------------------------------------- * LCD Controller diff --cc drivers/staging/Kconfig index 5e4b865,82b3489..9a4dd59 --- a/drivers/staging/Kconfig +++ b/drivers/staging/Kconfig @@@ -119,11 -111,27 +111,25 @@@ source "drivers/staging/octeon/Kconfig source "drivers/staging/serqt_usb2/Kconfig" + source "drivers/staging/quatech_usb2/Kconfig" + source "drivers/staging/vt6655/Kconfig" - source "drivers/staging/pata_rdc/Kconfig" + source "drivers/staging/vt6656/Kconfig" -source "drivers/staging/cpc-usb/Kconfig" - source "drivers/staging/udlfb/Kconfig" + source "drivers/staging/hv/Kconfig" + + source "drivers/staging/vme/Kconfig" + + source "drivers/staging/rar/Kconfig" + + source "drivers/staging/sep/Kconfig" + + source "drivers/staging/iio/Kconfig" + + source "drivers/staging/cowloop/Kconfig" + endif # !STAGING_EXCLUDE_BUILD endif # STAGING diff --cc drivers/staging/Makefile index ede1599,b1cad0d..104f2f8 --- a/drivers/staging/Makefile +++ b/drivers/staging/Makefile @@@ -37,10 -34,17 +34,16 @@@ obj-$(CONFIG_STLC45XX) += stlc45xx obj-$(CONFIG_B3DFG) += b3dfg/ obj-$(CONFIG_IDE_PHISON) += phison/ obj-$(CONFIG_PLAN9AUTH) += p9auth/ - obj-$(CONFIG_HECI) += heci/ obj-$(CONFIG_LINE6_USB) += line6/ obj-$(CONFIG_USB_SERIAL_QUATECH2) += serqt_usb2/ + obj-$(CONFIG_USB_SERIAL_QUATECH_USB2) += quatech_usb2/ obj-$(CONFIG_OCTEON_ETHERNET) += octeon/ obj-$(CONFIG_VT6655) += vt6655/ - obj-$(CONFIG_RDC_17F3101X) += pata_rdc/ + obj-$(CONFIG_VT6656) += vt6656/ -obj-$(CONFIG_USB_CPC) += cpc-usb/ obj-$(CONFIG_FB_UDL) += udlfb/ + obj-$(CONFIG_HYPERV) += hv/ + obj-$(CONFIG_VME_BUS) += vme/ + obj-$(CONFIG_RAR_REGISTER) += rar/ + obj-$(CONFIG_DX_SEP) += sep/ + obj-$(CONFIG_IIO) += iio/ + obj-$(CONFIG_COWLOOP) += cowloop/