summaryrefslogtreecommitdiff
path: root/str.h
blob: 7b8916cb11ab7ea598fe8771f542f203d904bf80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef STR_H
#define STR_H

#include "built_in.h"

extern size_t strlcpy(char *dest, const char *src, size_t size);
extern int slprintf(char *dst, size_t size, const char *fmt, ...)  __check_format_printf(3, 4);
extern int slprintf_nocheck(char *dst, size_t size, const char *fmt, ...);
extern char *strtrim_right(char *p, char c);
extern noinline void *xmemset(void *s, int c, size_t n);

#endif /* STR_H */
/noscript>
authorArchit Taneja <architt@codeaurora.org>2016-07-18 08:44:04 +0530
committerArchit Taneja <architt@codeaurora.org>2016-07-18 08:58:45 +0530
commit1d926114d8f4e9f138617b95c6cd377667c36369 (patch)
tree62b346351567e345600dc32010b29991c0764524
parent7caff0fc4296eba5e2e473e6719726c65f1b7c31 (diff)
drm: rcar-du: Remove i2c slave encoder interface for hdmi encoder
The hdmi output in rcar-du uses the i2c slave encoder interface to link to the adv7511 encoder chip. The kms driver creates encoder and connector entities that internally uses the drm_encoder_slave_funcs ops provided by the slave encoder driver. Change the driver such that it expects a bridge entity instead of a slave encoder. The hdmi connector code isn't needed anymore as we expect the adv7511 bridge driver to create/manage the connector. Note that the kms driver still expects a connector node for hdmi to be present in DT. This node has no connection to the connector created by the bridge driver. Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Archit Taneja <architt@codeaurora.org>
Diffstat