From: Alexander Aring Date: Thu, 24 Apr 2014 17:09:13 +0000 (+0200) Subject: at86rf230: remove #ifdef CONFIG_OF X-Git-Tag: v4.14-rc1~7383^2~321^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8b66db804f045a33c7e52ab32d8338a917a3153;p=platform%2Fkernel%2Flinux-rpi.git at86rf230: remove #ifdef CONFIG_OF This is already handled by the of_match_ptr macro. Signed-off-by: Alexander Aring Signed-off-by: David S. Miller --- diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index cf376c4..b324bb3 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c @@ -1215,7 +1215,6 @@ static int at86rf230_remove(struct spi_device *spi) return 0; } -#if IS_ENABLED(CONFIG_OF) static const struct of_device_id at86rf230_of_match[] = { { .compatible = "atmel,at86rf230", }, { .compatible = "atmel,at86rf231", }, @@ -1224,7 +1223,6 @@ static const struct of_device_id at86rf230_of_match[] = { { }, }; MODULE_DEVICE_TABLE(of, at86rf230_of_match); -#endif static const struct spi_device_id at86rf230_device_id[] = { { .name = "at86rf230", },