# \[PATCH\] console: dummycon: export dummycon\_\[un\]register\_output\_notifier

- Subsystems: FRAMEBUFFER LAYER, CONSOLE SUBSYSTEM, THE REST
- Maintainers: Helge Deller, Greg Kroah-Hartman, Linus Torvalds
- List: linux-fbdev
- 3 messages, 2 authors
- Page: https://ratatoskr.run/linux-fbdev/2018/06/9141105/t

## \[PATCH\] console: dummycon: export dummycon\_\[un\]register\_output\_notifier

- From: Hans de Goede \<hidden\>
- Date: 2018-06-29 09:36:31 
- Message: https://ratatoskr.run/linux-fbdev/2018/06/9141105.md

```text
Export dummycon_[un]register_output_notifier, the fbcon code needs this
and may be build as a module.

Fixes: 83d83bebf401 ("console/fbcon: Add support for deferred console takeover")
Cc: Stephen Rothwell <redacted>
Reported-by: Stephen Rothwell <redacted>
Signed-off-by: Hans de Goede <redacted>
---
 drivers/video/console/dummycon.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/video/console/dummycon.c b/drivers/video/console/dummycon.c
index 45ad925ad5f8..0254251fdd79 100644
--- a/drivers/video/console/dummycon.c
+++ b/drivers/video/console/dummycon.c
@@ -38,11 +38,13 @@ void dummycon_register_output_notifier(struct notifier_block *nb)
 	if (dummycon_putc_called)
 		nb->notifier_call(nb, 0, NULL);
 }
+EXPORT_SYMBOL_GPL(dummycon_register_output_notifier);
 
 void dummycon_unregister_output_notifier(struct notifier_block *nb)
 {
 	raw_notifier_chain_unregister(&dummycon_output_nh, nb);
 }
+EXPORT_SYMBOL_GPL(dummycon_unregister_output_notifier);
 
 static void dummycon_putc(struct vc_data *vc, int c, int ypos, int xpos)
 {
-- 
2.17.1

```

## Re: \[PATCH\] console: dummycon: export dummycon\_\[un\]register\_output\_notifier

- From: Bartlomiej Zolnierkiewicz \<hidden\>
- Date: 2018-06-29 10:06:16 
- Message: https://ratatoskr.run/linux-fbdev/2018/06/9141108.md

```text
On Friday, June 29, 2018 11:36:27 AM Hans de Goede wrote:
> Export dummycon_[un]register_output_notifier, the fbcon code needs this
> and may be build as a module.
> 
> Fixes: 83d83bebf401 ("console/fbcon: Add support for deferred console takeover")
> Cc: Stephen Rothwell <redacted>
> Reported-by: Stephen Rothwell <redacted>
> Signed-off-by: Hans de Goede <redacted>

Applied to fbdev-for-next, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

```

## Re: \[PATCH\] console: dummycon: export dummycon\_\[un\]register\_output\_notifier

- From: Hans de Goede \<hidden\>
- Date: 2018-06-29 10:10:36 
- Message: https://ratatoskr.run/linux-fbdev/2018/06/9141109.md

```text
Hi,

On 29-06-18 12:06, Bartlomiej Zolnierkiewicz wrote:
> On Friday, June 29, 2018 11:36:27 AM Hans de Goede wrote:
>> Export dummycon_[un]register_output_notifier, the fbcon code needs this
>> and may be build as a module.
>>
>> Fixes: 83d83bebf401 ("console/fbcon: Add support for deferred console takeover")
>> Cc: Stephen Rothwell <redacted>
>> Reported-by: Stephen Rothwell <redacted>
>> Signed-off-by: Hans de Goede <redacted>
> 
> Applied to fbdev-for-next, thanks.

You're welcome. And sorry about this, I should have gotten this right
from the start.

Regards,

Hans
```
