Re: [PATCH 3/3] regulator: tps65218: Add support for LS2

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

 



On Wed, Feb 20, 2019 at 09:15:52AM +0100, Christian Hohnstaedt wrote:

> +	TPS65218_REGULATOR("LS2", "regulator-ls2", TPS65218_LS_2,
> +			   REGULATOR_CURRENT, tps65218_ls23_ops, 0, 0, 0,
> +			   TPS65218_REG_ENABLE2, TPS65218_ENABLE2_LS2_EN,
> +			   TPS65218_REG_CONFIG2, TPS65218_CONFIG2_LS2ILIM_MASK,
> +			   NULL, 0, 0, 0, 0, 0),

This doesn't build:

drivers/regulator/tps65218-regulator.c:309:45: error: ‘TPS65218_LS_2’ undeclared here (not in a function); did you mean ‘TPS65218_LS_3’?
  TPS65218_REGULATOR("LS2", "regulator-ls2", TPS65218_LS_2,
                                             ^~~~~~~~~~~~~
drivers/regulator/tps65218-regulator.c:36:11: note: in definition of macro ‘TPS65218_REGULATOR’
   .id   = _id,   \
           ^~~

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux