[pvrusb2] 20051016/driver/tveeprom.c ppc build breakage with kernel 2.6.14

Per Christian Henden perchrh at pvv.org
Fri Oct 28 13:04:27 CDT 2005


Hi, 

When compiling the 20051016 driver snapshot on my linux PPC system I get the 
following error

make[1]: Entering directory `/usr/src/linux-2.6.14'
  CC [M]  /home/perchrh/src/pvrusb2-mci-20051016/driver/tveeprom.o
/home/perchrh/src/pvrusb2-mci-20051016/driver/tveeprom.c:50:25: error: 
asm/segment.h: No such file or directory

include/asm-ppc*/segment.h
seems to be missing in kernel 2.6.14 
they are in place in 2.6.13

>From the 2.6.14 ChangeLog 

    [PATCH] ppc32: remove use of asm/segment.h
    
    Removed ppc32 architecture specific users of asm/segment.h and
    asm-ppc/segment.h itself

I commented out the include line from driver/tveeprom.c and the file compiled, 
and the driver is working.

Other architectures seem to have their segment.h files, except ppc64, that is.
Do the driver need segment.h in order to work on the other platforms?

-PER


More information about the pvrusb2 mailing list