parse error before `i2c_rpx_exit'

Pergola, Michael MichaelPergola at Danfoss.com
Thu Feb 14 03:15:56 EST 2002


All,

I am using HHL 1.2 Linux Kernel version 2.2.14 on an Embedded
Planet MPC823e platform. When attempting to integrate my PPC
kernel with I2C-2.6.2 I get the following error:
  i2c-rpx.c:123: parse error before `i2c_rpx_exit'
  i2c-rpx.c:124: warning: return-type defaults to `int'
  i2c-rpx.c: In function `i2c_rpx_exit':
  i2c-rpx.c:126: warning: control reaches end of non-void function

The offending lines of code in i2c-rpx.c are:
  void __exit i2c_rpx_exit(void)
  {
        i2c_8xx_del_bus(&rpx_ops);
  }

What could be causing this error? Everything looks OK to me.

Regards,
     Michael Pergola
     Software Engineer
     Danfoss Air-Conditioning & Refrigeration Division
     7941 Corporate Blvd.
     Baltimore, MD  21236     (410) 931-6778 x4259


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list