[PATCH 5/7] i2c: scx200_acb - add cs5535 support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jean,

Those macros are defined in 2.6.15-rc5-mm3 as:
#define PCI_DEVICE_ID_NS_CS5535_ISA 0x002b
#define PCI_DEVICE_ID_AMD_CS5536_ISA 0x2090

The -mm patch that defines the NS macro is:
i386-gpio-driver-for-amd-cs5535-cs5536.patch

I'm not sure which patch defines the AMD macro.

Ben

On 12/19/05, Jean Delvare <khali at linux-fr.org> wrote:
> Hi Ben,
>
> > Add support for the CS5535 and CS5536 Geode companion devices.
>
> Breaks compilation:
>
>   CC [M]  drivers/i2c/busses/scx200_acb.o
> drivers/i2c/busses/scx200_acb.c:497: error: `PCI_DEVICE_ID_NS_CS5535_ISA' undeclared here (not in a function)
> drivers/i2c/busses/scx200_acb.c:497: error: initializer element is not constant
> drivers/i2c/busses/scx200_acb.c:497: error: (near initialization for `divil_pci[0].device')
> drivers/i2c/busses/scx200_acb.c:497: error: initializer element is not constant
> drivers/i2c/busses/scx200_acb.c:497: error: (near initialization for `divil_pci[0]')
> drivers/i2c/busses/scx200_acb.c:498: error: `PCI_DEVICE_ID_AMD_CS5536_ISA' undeclared here (not in a function)
> drivers/i2c/busses/scx200_acb.c:498: error: initializer element is not constant
> drivers/i2c/busses/scx200_acb.c:498: error: (near initialization for `divil_pci[1].device')
> drivers/i2c/busses/scx200_acb.c:498: error: initializer element is not constant
> drivers/i2c/busses/scx200_acb.c:498: error: (near initialization for `divil_pci[1]')
> drivers/i2c/busses/scx200_acb.c:499: error: initializer element is not constant
> drivers/i2c/busses/scx200_acb.c:499: error: (near initialization for `divil_pci[2]')
> distcc[10014] ERROR: compile drivers/i2c/busses/scx200_acb.c on localhost failed
> make[3]: *** [drivers/i2c/busses/scx200_acb.o] Error 1
> make[2]: *** [drivers/i2c/busses] Error 2
> make[1]: *** [drivers/i2c] Error 2
> make: *** [drivers] Error 2
>
> Please provide an updated patch.
>
> --
> Jean Delvare
>




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux