drivers: Remove useless device start/end pointers
Commit id a538dcd8f8
got rid of the usage of these pointers so they are
useless now and can be removed in this drivers.
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
0126c9f46a
commit
8260736268
3 changed files with 0 additions and 9 deletions
|
@ -17,9 +17,6 @@
|
|||
#define BUF_ARRAY_CNT 16
|
||||
#define TEST_ARR_SIZE 0x1000
|
||||
|
||||
extern struct device __device_start[];
|
||||
extern struct device __device_end[];
|
||||
|
||||
static uint8_t __aligned(4) test_arr[TEST_ARR_SIZE];
|
||||
|
||||
static int parse_helper(const struct shell *shell, size_t *argc,
|
||||
|
|
|
@ -16,9 +16,6 @@ LOG_MODULE_REGISTER(i2c_shell, CONFIG_LOG_DEFAULT_LEVEL);
|
|||
|
||||
#define I2C_DEVICE_PREFIX "I2C_"
|
||||
|
||||
extern struct device __device_start[];
|
||||
extern struct device __device_end[];
|
||||
|
||||
/* Maximum bytes we can write or read at once */
|
||||
#define MAX_I2C_BYTES 16
|
||||
|
||||
|
|
|
@ -16,9 +16,6 @@
|
|||
"when no channels are provided. Syntax:\n" \
|
||||
"<device_name> <channel name 0> .. <channel name N>"
|
||||
|
||||
extern struct device __device_start[];
|
||||
extern struct device __device_end[];
|
||||
|
||||
const char *sensor_channel_name[SENSOR_CHAN_ALL] = {
|
||||
[SENSOR_CHAN_ACCEL_X] = "accel_x",
|
||||
[SENSOR_CHAN_ACCEL_Y] = "accel_y",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue