RobertCNelson / armv7-multiplatform

MIT License
75 stars 42 forks source link

several compiling issues with 4.4.19 #35

Open hede5562 opened 8 years ago

hede5562 commented 8 years ago

With 4.4.19 I have multiple compiling issues. With 4.4.17 the same config was fine. Examples:

  CC [M]  net/netfilter/xt_CONNSECMARK.o
drivers/input/touchscreen/sur40.c: In function ‘sur40_process_video’:
drivers/input/touchscreen/sur40.c:453:21: error: ‘struct vb2_buffer’ has no member named ‘timestamp’
  new_buf->vb.vb2_buf.timestamp = ktime_get_ns();
                     ^
drivers/input/touchscreen/sur40.c: In function ‘sur40_probe’:
drivers/input/touchscreen/sur40.c:582:14: error: ‘struct vb2_queue’ has no member named ‘dev’
  sur40->queue.dev = sur40->dev;
              ^
drivers/input/touchscreen/sur40.c: At top level:
drivers/input/touchscreen/sur40.c:826:2: warning: initialization from incompatible pointer type
  .queue_setup  = sur40_queue_setup,
  ^
drivers/input/touchscreen/sur40.c:826:2: warning: (near initialization for ‘sur40_queue_ops.queue_setup’)
scripts/Makefile.build:264: recipe for target 'drivers/input/touchscreen/sur40.o' failed
make[3]: *** [drivers/input/touchscreen/sur40.o] Error 1
scripts/Makefile.build:403: recipe for target 'drivers/input/touchscreen' failed
make[2]: *** [drivers/input/touchscreen] Error 2
scripts/Makefile.build:403: recipe for target 'drivers/input' failed
make[1]: *** [drivers/input] Error 2
Makefile:947: recipe for target 'drivers' failed
make: *** [drivers] Error 2
make: *** Warte auf noch nicht beendete Prozesse...
  CC [M]  net/netfilter/xt_CT.o
  CC [M]  fs/udf/truncate.o
  CC [M]  fs/udf/symlink.o
  CC [M]  net/netfilter/xt_DSCP.o
  CC [M]  fs/udf/directory.o

  CC [M]  drivers/media/i2c/wm8775.o
  CC [M]  drivers/media/dvb-frontends/si2168.o
drivers/media/dvb-frontends/si2168.c: In function ‘si2168_probe’:
drivers/media/dvb-frontends/si2168.c:712:2: error: implicit declaration of function ‘i2c_add_mux_adapter’ [-Werror=implicit-function-declaration]
  dev->adapter = i2c_add_mux_adapter(client->adapter, &client->dev,
  ^
drivers/media/dvb-frontends/si2168.c:712:15: warning: assignment makes pointer from integer without a cast
  dev->adapter = i2c_add_mux_adapter(client->adapter, &client->dev,
               ^
drivers/media/dvb-frontends/si2168.c: In function ‘si2168_remove’:
drivers/media/dvb-frontends/si2168.c:746:2: error: implicit declaration of function ‘i2c_del_mux_adapter’ [-Werror=implicit-function-declaration]
  i2c_del_mux_adapter(dev->adapter);
  ^
  CC      drivers/mmc/core/sdio.o
  CC [M]  drivers/media/i2c/mt9v011.o
  CC [M]  drivers/md/bcache/bset.o
cc1: some warnings being treated as errors
scripts/Makefile.build:264: recipe for target 'drivers/media/dvb-frontends/si2168.o' failed
make[3]: *** [drivers/media/dvb-frontends/si2168.o] Error 1
scripts/Makefile.build:403: recipe for target 'drivers/media/dvb-frontends' failed
make[2]: *** [drivers/media/dvb-frontends] Error 2
make[2]: *** Warte auf noch nicht beendete Prozesse...
  CC [M]  drivers/md/bcache/btree.o
  LD      drivers/media/i2c/built-in.o
RobertCNelson commented 8 years ago

@hede5562 sorry about this, i needed a few iio drivers from a later kernel, that required an i2c-mux change that broke a coupe of 4.4.x drivers:

see the patches/defconfig diff here:

https://github.com/RobertCNelson/armv7-multiplatform/commit/28eb8871a91bb0a9e064615c7ff62e179b66fd8d

Regards,

hede5562 commented 8 years ago

@RobertCNelson np - I do not need those drivers and can remove them. Still, if somebody does...