Re: [RFC PATCH] media.h: reorganize header to make it easier to understand

2018-02-05 Thread Hans Verkuil
Since this patch is hard to read, here is the 'post-patch' header: cut here -- /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * Multimedia device API * * Copyright (C) 2010 Nokia Corporation * * Contacts: Laurent Pinchart

[RFC PATCH] media.h: reorganize header to make it easier to understand

2018-02-05 Thread Hans Verkuil
The media.h public header is very messy. It mixes legacy and 'new' defines and it is not easy to figure out what should and what shouldn't be used. It also contains confusing comment that are either out of date or completely uninteresting for anyone that needs to use this header. The patch groups