All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Netbal <wolfgang.netbal@sigmatek.at>
To: xenomai@xenomai.org
Subject: [Xenomai] Compileerror rt_imx_uart.c on kernel 3.10.53 ARM
Date: Mon, 14 Dec 2015 10:04:17 +0100	[thread overview]
Message-ID: <566E8611.7030205@sigmatek.at> (raw)
In-Reply-To: <613bbb7c.109f7.1519f9cec39.Coremail.ericvic@163.com>

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 ?

Kind regards
Wolfgang


  reply	other threads:[~2015-12-14  9:04 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             ` Wolfgang Netbal [this message]
2015-12-14 22:48               ` [Xenomai] Compileerror rt_imx_uart.c on kernel 3.10.53 ARM Gilles Chanteperdrix
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=566E8611.7030205@sigmatek.at \
    --to=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.