Re: [PATCH V2 1/2] ARM: S3C2410: Add __init attribute to usb_simtec_init()

2011-10-09 Thread Tushar Behera
Hi Sergei, On Saturday 08 October 2011 07:48 PM, Sergei Shtylyov wrote: Hello. On 07-10-2011 15:55, Tushar Behera wrote: usb_simtec_init() references s3c_ohci_set_platdata() which is defined with __init attribute. Hence to remove section mismatch warning, __init attribute is added to usb_simt

Re: [PATCH V2 1/2] ARM: S3C2410: Add __init attribute to usb_simtec_init()

2011-10-09 Thread Sergei Shtylyov
Hello. On 07-10-2011 15:55, Tushar Behera wrote: usb_simtec_init() references s3c_ohci_set_platdata() which is defined with __init attribute. Hence to remove section mismatch warning, __init attribute is added to usb_simtec_init(). It removes following two warnigs. WARNING: vmlinux.o(.tex

[PATCH V2 1/2] ARM: S3C2410: Add __init attribute to usb_simtec_init()

2011-10-07 Thread Tushar Behera
usb_simtec_init() references s3c_ohci_set_platdata() which is defined with __init attribute. Hence to remove section mismatch warning, __init attribute is added to usb_simtec_init(). It removes following two warnigs. WARNING: vmlinux.o(.text+0x1460c): Section mismatch in reference from the functi