diff options
author | Simon Glass <sjg@chromium.org> | 2016-05-01 11:36:14 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-05-17 09:54:43 -0600 |
commit | 74001a2570ccbc120366e66dd40e8c66e3a6820c (patch) | |
tree | fccdc192fe292afe40c8f1daeca05d6e4fc479c4 /common/ide.c | |
parent | 57ebf67bad82da0b3ade1728fb39a64d1c29822f (diff) | |
download | u-boot-imx-74001a2570ccbc120366e66dd40e8c66e3a6820c.zip u-boot-imx-74001a2570ccbc120366e66dd40e8c66e3a6820c.tar.gz u-boot-imx-74001a2570ccbc120366e66dd40e8c66e3a6820c.tar.bz2 |
dm: ide: Drop the get_dev() function
This function is implemented by the legacy block functions now. Drop it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/ide.c')
-rw-r--r-- | common/ide.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/ide.c b/common/ide.c index adc1966..5dc90d4 100644 --- a/common/ide.c +++ b/common/ide.c @@ -890,13 +890,6 @@ void ide_init(void) WATCHDOG_RESET(); } -#ifdef CONFIG_PARTITIONS -struct blk_desc *ide_get_dev(int dev) -{ - return (dev < CONFIG_SYS_IDE_MAXDEVICE) ? &ide_dev_desc[dev] : NULL; -} -#endif - /* We only need to swap data if we are running on a big endian cpu. */ #if defined(__LITTLE_ENDIAN) __weak void ide_input_swap_data(int dev, ulong *sect_buf, int words) |