Commit 9a673215 authored by Mihail Atanassov's avatar Mihail Atanassov Committed by Mihail Atanassov

drm/komeda: Remove CONFIG_KOMEDA_ERROR_PRINT

Now that there's a debugfs node to control the same, remove the
config option.
Reviewed-by: default avatarJames Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Acked-by: default avatarLiviu Dudau <liviu.dudau@arm.com>
Signed-off-by: default avatarMihail Atanassov <mihail.atanassov@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191107114155.54307-3-mihail.atanassov@arm.com
parent 8894cd58
...@@ -12,9 +12,3 @@ config DRM_KOMEDA ...@@ -12,9 +12,3 @@ config DRM_KOMEDA
Processor driver. It supports the D71 variants of the hardware. Processor driver. It supports the D71 variants of the hardware.
If compiled as a module it will be called komeda. If compiled as a module it will be called komeda.
config DRM_KOMEDA_ERROR_PRINT
bool "Enable komeda error print"
depends on DRM_KOMEDA
help
Choose this option to enable error printing.
...@@ -16,12 +16,11 @@ komeda-y := \ ...@@ -16,12 +16,11 @@ komeda-y := \
komeda_crtc.o \ komeda_crtc.o \
komeda_plane.o \ komeda_plane.o \
komeda_wb_connector.o \ komeda_wb_connector.o \
komeda_private_obj.o komeda_private_obj.o \
komeda_event.o
komeda-y += \ komeda-y += \
d71/d71_dev.o \ d71/d71_dev.o \
d71/d71_component.o d71/d71_component.o
komeda-$(CONFIG_DRM_KOMEDA_ERROR_PRINT) += komeda_event.o
obj-$(CONFIG_DRM_KOMEDA) += komeda.o obj-$(CONFIG_DRM_KOMEDA) += komeda.o
...@@ -226,13 +226,7 @@ void komeda_dev_destroy(struct komeda_dev *mdev); ...@@ -226,13 +226,7 @@ void komeda_dev_destroy(struct komeda_dev *mdev);
struct komeda_dev *dev_to_mdev(struct device *dev); struct komeda_dev *dev_to_mdev(struct device *dev);
#ifdef CONFIG_DRM_KOMEDA_ERROR_PRINT
void komeda_print_events(struct komeda_events *evts, struct drm_device *dev); void komeda_print_events(struct komeda_events *evts, struct drm_device *dev);
#else
static inline void komeda_print_events(struct komeda_events *evts,
struct drm_device *dev)
{}
#endif
int komeda_dev_resume(struct komeda_dev *mdev); int komeda_dev_resume(struct komeda_dev *mdev);
int komeda_dev_suspend(struct komeda_dev *mdev); int komeda_dev_suspend(struct komeda_dev *mdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment