All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Wolfgang Netbal <wolfgang.netbal@sigmatek.at>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Compileerror rt_imx_uart.c on kernel 3.10.53 ARM
Date: Mon, 14 Dec 2015 23:48:50 +0100	[thread overview]
Message-ID: <20151214224850.GG16627@hermes.click-hack.org> (raw)
In-Reply-To: <566E8611.7030205@sigmatek.at>

On Mon, Dec 14, 2015 at 10:04:17AM +0100, Wolfgang Netbal wrote:
> Dear All,
> 
> when I activated the serial realtime driver 
> (CONFIG_XENO_DRIVERS_IMX_UART) in my kernel 3.10.53
> I get the following compile errors.
> 
> drivers/xenomai/serial/rt_imx_uart.c: In function 'rt_imx_uart_probe':
> 
> drivers/xenomai/serial/rt_imx_uart.c:2032:20: error: 'struct imxuart_platform_data' has no member named 'init'
> 
>    if (pdata && pdata->init) {
> 
>                      ^
> 
> drivers/xenomai/serial/rt_imx_uart.c:2033:14: error: 'struct imxuart_platform_data' has no member named 'init'
> 
>     err = pdata->init(pdev);
> 
>                ^
> 
> drivers/xenomai/serial/rt_imx_uart.c:2095:20: error: 'struct imxuart_platform_data' has no member named 'exit'
> 
>    if (pdata && pdata->exit)
> 
>                      ^
> 
> drivers/xenomai/serial/rt_imx_uart.c:2096:8: error: 'struct imxuart_platform_data' has no member named 'exit'
> 
>     pdata->exit(pdev);
> 
>          ^
> 
> drivers/xenomai/serial/rt_imx_uart.c: In function 'rt_imx_uart_remove':
> 
> drivers/xenomai/serial/rt_imx_uart.c:2126:20: error: 'struct imxuart_platform_data' has no member named 'exit'
> 
>    if (pdata && pdata->exit)
> 
>                      ^
> 
> drivers/xenomai/serial/rt_imx_uart.c:2127:8: error: 'struct imxuart_platform_data' has no member named 'exit'
> 
>     pdata->exit(pdev);
> 
> 
> 
> I found out that in kernel 3.10.53 the function pointer to exit and init 
> function in struct imxuart_platform_data is missing.
> 
> I tried to find a newer version of rt_imx_uart.c in xenomai 3.0 but the 
> file is the same.
> 
> Do you have any idea how to fix this ?

Maybe the file is adapted to newer kernel versions? Such as Linux
3.14 or Linux 3.18 ?

Please try, if you want to answer a random mail, to remove any
reference-to or in-reply-to header, so that your mail does not
appear in a middle of an unrelated thread. Look at the mess you have
done here:
https://xenomai.org/pipermail/xenomai/2015-December/thread.html

-- 
					    Gilles.
https://click-hack.org


  reply	other threads:[~2015-12-14 22:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-08 10:43 [Xenomai] ipipe-gch-ipipe-3.0-imx6q latency eric
2015-12-08 11:23 ` Gilles Chanteperdrix
2015-12-14  2:13   ` eric
2015-12-14  6:42     ` Gilles Chanteperdrix
2015-12-14  7:57       ` eric
2015-12-14  8:03         ` Gilles Chanteperdrix
2015-12-14  8:30           ` eric
2015-12-14  9:04             ` [Xenomai] Compileerror rt_imx_uart.c on kernel 3.10.53 ARM Wolfgang Netbal
2015-12-14 22:48               ` Gilles Chanteperdrix [this message]
2015-12-14  9:05             ` [Xenomai] ipipe-gch-ipipe-3.0-imx6q latency eric
2015-12-14 22:19               ` Gilles Chanteperdrix
2015-12-15  0:54                 ` eric
2015-12-15  6:17                   ` Gilles Chanteperdrix
2015-12-15  7:05                     ` eric
2015-12-14  8:08         ` eric

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151214224850.GG16627@hermes.click-hack.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=wolfgang.netbal@sigmatek.at \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.