{
TEST_CLEANUP(test_close_chip) struct gpiod_chip *chipA = NULL;
TEST_CLEANUP(test_close_chip) struct gpiod_chip *chipB = NULL;
+ struct gpiod_line_bulk bulkB = GPIOD_LINE_BULK_INITIALIZER;
+ struct gpiod_line_bulk bulkA;
struct gpiod_line *lineA0;
struct gpiod_line *lineA1;
struct gpiod_line *lineA2;
struct gpiod_line *lineB1;
struct gpiod_line *lineB2;
struct gpiod_line *lineB3;
- struct gpiod_line_bulk bulkA;
- struct gpiod_line_bulk bulkB = GPIOD_LINE_BULK_INITIALIZER;
- int status;
int valA[4], valB[4];
+ int status;
chipA = gpiod_chip_open(test_chip_path(0));
chipB = gpiod_chip_open(test_chip_path(1));
TEST_CLEANUP(test_close_chip) struct gpiod_chip *chipA = NULL;
TEST_CLEANUP(test_close_chip) struct gpiod_chip *chipB = NULL;
struct gpiod_line_request_config req;
+ struct gpiod_line_bulk bulk;
struct gpiod_line *lineA0;
struct gpiod_line *lineA1;
struct gpiod_line *lineB0;
struct gpiod_line *lineB1;
- struct gpiod_line_bulk bulk;
int status;
chipA = gpiod_chip_open(test_chip_path(0));